<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<META NAME="GENERATOR" CONTENT="Adobe FrameMaker 7.0/HTML Export Filter">
<LINK REL="STYLESHEET" HREF="KDM_1.0_18_datapkg.css" CHARSET="ISO-8859-1" TYPE="text/css">
<TITLE> 18	 Data Package</TITLE>
</HEAD>
<BODY BGCOLOR="#ffffff">
<DIV>
<H6 CLASS="Heading">
<A NAME="pgfId-998826"></A> <A NAME="58728"></A>Data Package</H6>
</DIV>
<DIV>
<H3 CLASS="Heading1">
<A NAME="pgfId-1086553"></A>Overview</H3>
<P CLASS="Body">
<A NAME="pgfId-1096281"></A>The KDM Data Package defines a set of meta-model elements whose purpose is to represent organization of data in the existing software system. This fact of knowledge corresponds to the logical view. It is determined by a data description language. KDM Data model uses the foundation provided by the Code package related to the representations of simple datatypes. KD Data model represents complex data repositories, such as record files, relational databases, structured data stream, XML schemas and documents.</P>
</DIV>
<DIV>
<H3 CLASS="Heading1">
<A NAME="pgfId-1096286"></A><A NAME="_Toc119735846"></A><A NAME="_Toc119728792"></A><A NAME="_Toc131848368"></A>Organization of the Data Package</H3>
<P CLASS="Body">
<A NAME="pgfId-1096292"></A>The Data package consists of the following 11 class diagrams:</P>
<UL>
<LI CLASS="Bullet1">
<A NAME="pgfId-1096294"></A>Data Model</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1098206"></A>Data Inheritance </LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1096297"></A>RelationalData</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1096298"></A>ColumnSet</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1096300"></A>StructuredData</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1096301"></A>ContentElements</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1098232"></A>ContentRelations</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1098228"></A>KeyIndex </LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1098229"></A>KeyRelations</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1098235"></A>DataActions</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1098226"></A>ExtendedDataElements</LI>
</UL>
<P CLASS="Body">
<A NAME="pgfId-1096305"></A>The Data Package depends on the following packages:</P>
<UL>
<LI CLASS="Bullet1">
<A NAME="pgfId-1096306"></A>Core</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1096307"></A>kdm</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1098215"></A>Source</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1098216"></A>Code</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1098217"></A>Action</LI>
</UL>
</DIV>
<DIV>
<H3 CLASS="Heading1">
<A NAME="pgfId-1096398"></A><A NAME="_Toc119735848"></A><A NAME="_Toc119728794"></A><A NAME="_Toc131848370"></A>Data Model Class Diagram</H3>
<P CLASS="Body">
<A NAME="pgfId-1096274"></A>The Data Model follows the uniform pattern for KDM models to extend the KDM Framework with specific meta-model elements related to data organization in complex data repositories. Diagram in <A HREF="KDM_1.0_18_datapkg.htm#46459" CLASS="XRef">See - Data Model.</A> shows the classes and associations of the DataModel class diagram. </P>
<P CLASS="Body">
<A NAME="pgfId-1095725"></A>&nbsp;</P>
<DIV>
<IMG SRC="KDM_1.0_18_datapkg-1.gif">
</DIV>
<DIV>
<H6 CLASS="FigureCaption1">
<A NAME="pgfId-1095726"></A><A NAME="46459"></A>- Data Model</H6>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1096446"></A><A NAME="_Toc119735849"></A><A NAME="_Toc119728795"></A><A NAME="_Toc119735854"></A><A NAME="_Toc119728800"></A><A NAME="_Toc131848371"></A>DataModel Class</H4>
<P CLASS="Body">
<A NAME="pgfId-1096448"></A>The DataModel Class the specific KDM model which corresponds to the logical organization of data of the existing software system, in particular, related to persistent data. DataModel follows the uniform pattern for KDM models.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1096450"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1096451"></A>KDMModel</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1096453"></A>Associations</H6>
<P CLASS="Body">
<A NAME="pgfId-1096463"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1096456"></A>dataElement :DataElement[0..*]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="Body">
<A NAME="pgfId-1096458"></A>data elements owned by the given DataModel</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1096465"></A>Constraints</H6>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1096467"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1099112"></A>Data model is a logical container for the instances of data elements. It is the implementer's responsibility to arrange the instances of the data elements into one or more DataModels.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1099113"></A>&nbsp;</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1096470"></A><A NAME="_Toc131848372"></A>AbstractDataElement Class (abstract)</H4>
<P CLASS="Body">
<A NAME="pgfId-1096472"></A>The AbstractDataElement class is an abstract meta-model element that represents the discreet instance of a given data element within a system. For example, a Customer_Number is one type of data element that might be found within a system. Data model defines several specific subclasses of AbstractDataElement, corresponding to common subcategories of data elements.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1096474"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1096475"></A>KDMEntity</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1096479"></A>Associations</H6>
<P CLASS="Body">
<A NAME="pgfId-1096489"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1096482"></A>abstraction: ActionElement[1] </H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1096484"></A>The &quot;abstracted&quot; actions which are owned by the current element</H6>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1098117"></A>dataRelation:DataRelation[0..*]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1098119"></A>Data relationships that are originate from this data element</H6>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1099038"></A>source: SourceRef[0..1]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1099040"></A>Link to the physical artifact for the given data element</H6>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1096491"></A>Constraints</H6>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1096493"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1099177"></A>Abstracted actions are owned by the data model. Usually they provide an abstracted representation of one or more API calls in the code model. Abstracted actions own action relations to elements of code model, as well as some data relations.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1099175"></A>Abstracted actions are ordered. The first action is the entry point.</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1096498"></A><A NAME="_Toc119735850"></A><A NAME="_Toc119728796"></A><A NAME="_Toc131848373"></A>AbstractDataRelationship Class (abstract)</H4>
<P CLASS="Body">
<A NAME="pgfId-1096500"></A>An AbstractDataRelationship class is an abstract superclass of the meta-model elements which represent associations between data elements.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1096502"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1096503"></A>KDMRelationship</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1096514"></A>Constraints</H6>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1096516"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1100768"></A>AbstractDataRelationship is an abstract class that is used to constrain the subclasses of KDMRelationship in the Data model.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1100766"></A>&nbsp;</P>
</DIV>
</DIV>
</DIV>
<DIV>
<H3 CLASS="Heading1">
<A NAME="pgfId-1098243"></A><A NAME="_Toc119735847"></A><A NAME="_Toc119728793"></A><A NAME="_Toc131848369"></A>Data Inheritances class diagram</H3>
<P CLASS="Body">
<A NAME="pgfId-1100781"></A>The DataInheritances Diagram shown in <A HREF="KDM_1.0_18_datapkg.htm#52016" CLASS="XRef">See - DataInheritances Diagram.</A> shows how various data classes derive from the Core KDM classes. Each of the Data Package classes within this diagram inherits certain properties from KDM classes defined within the KDM Core Package. </P>
<P CLASS="Body">
<A NAME="pgfId-1098247"></A>&nbsp;</P>
<P CLASS="Body">
<A NAME="pgfId-1098251"></A>&nbsp;</P>
<DIV>
<IMG SRC="KDM_1.0_18_datapkg-2.gif">
</DIV>
<DIV>
<H6 CLASS="FigureCaption-">
<A NAME="pgfId-1098253"></A><A NAME="52016"></A>- DataInheritances Diagram</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1098238"></A>&nbsp;</P>
</DIV>
</DIV>
<DIV>
<H3 CLASS="Heading1">
<A NAME="pgfId-1096738"></A><A NAME="_Toc131848379"></A>DataResources Class Diagram</H3>
<P CLASS="Body">
<A NAME="pgfId-1096740"></A>The DataResources class diagram provides basic meta-model constructs to represent data elements within the KDM framework. The class diagram shown in <A HREF="KDM_1.0_18_datapkg.htm#35981" CLASS="XRef">See - RelationalData Class Diagram.</A> captures these classes and their relations.</P>
<P CLASS="Body">
<A NAME="pgfId-1100798"></A>The DataResources diagram defines the framework for various data models. This framework follows the common pattern of the Runtme Resource Layer. Data model defines a generic DataResource meta-model element which represents various resources common to databases, such as a DataEvent and an IndexElement. Data model also defines a generic DataContainer class which represents various data containers, such as a relational schema, a database catalog, an XML schema, and a ColumnSet. DataContainer is a subclass of DataResource. DataContainer owns certain Data resources. Data model includes AbstractDataContent element which is a direct subclass of AbstractDataElement, and not a subclass of DataResource. Subclasses of AbstractContentElement are owned by XMLSchema element.</P>
<P CLASS="Body">
<A NAME="pgfId-1096438"></A>&nbsp;</P>
<DIV>
<IMG SRC="KDM_1.0_18_datapkg-3.gif">
</DIV>
<DIV>
<H6 CLASS="FigureCaption-">
<A NAME="pgfId-1096698"></A><A NAME="35981"></A>- RelationalData Class Diagram</H6>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1099806"></A>DataResource Class (generic)</H4>
<P CLASS="Body">
<A NAME="pgfId-1099807"></A>The DataResource class is a generic meta-model element that represents various database resources, such as DataEvent and IndexElement.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099808"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1099809"></A>AbstractDataElement</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1100807"></A>Constraints:</H6>
<DIV>
<H6 CLASS="List1">
<A NAME="pgfId-1100808"></A>DataResource should have at least one stereotype</H6>
</DIV>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099817"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1100816"></A>DataResource is a generic meta-model element with under specified semantics. DataResource is a database element that is associated with a certain data container, such as a Schema or a Table. It is a concrete class that can be used as the base element of a new &quot;virtual&quot; meta-model entity types of the data model. This is one of the KDM extension points which can integrate additional language-specific, application-specific or implementer-specific pieces of knowledge into the standard KDM representation. DataResource is more specific than a generic ExtendedDataElement.</P>
<P CLASS="Body">
<A NAME="pgfId-1099803"></A>&nbsp;</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1099830"></A>DataContainer Class (generic)</H4>
<P CLASS="Body">
<A NAME="pgfId-1099831"></A>The DataContainer class is a generic meta-model element that represents various database containers.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099832"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1099833"></A>DataResource</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099847"></A>Associations</H6>
<P CLASS="Body">
<A NAME="pgfId-1099853"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1099850"></A>dataElement :DataResource[0..*]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1099852"></A>owned data resources</H6>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099834"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1100822"></A>DataContainer is a generic meta-model element with under specified semantics. DataContainer is a database element that is a logical container for Data resource, such as DataEvent or IndexElement. It is a concrete class that can be used as the base element of a new &quot;virtual&quot; meta-model entity types of the data model. This is one of the KDM extension points which can integrate additional language-specific, application-specific or implementer-specific pieces of knowledge into the standard KDM representation. DataContainer is more specific than a generic ExtendedDataElement.</P>
<P CLASS="Body">
<A NAME="pgfId-1099828"></A>&nbsp;</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1096848"></A><A NAME="_Toc131848380"></A>Catalog Class </H4>
<P CLASS="Body">
<A NAME="pgfId-1096849"></A>The Catalog class is the top level container that represents a relational or a hierarchical database.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1096851"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1099864"></A>DataContainer</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099872"></A>Semantics</H6>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1096865"></A><A NAME="_Toc131848381"></A>RelationalSchema Class </H4>
<P CLASS="Body">
<A NAME="pgfId-1096866"></A>The RelationalSchema class is a relational database schema.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1096868"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1096869"></A>DataContainer</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1096871"></A>Associations</H6>
<P CLASS="Body">
<A NAME="pgfId-1096889"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1096886"></A>codeElement:CodeItem[0..*]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1096888"></A>Stored procedures owned by this schema</H6>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1096894"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1099790"></A>Owned CodeElement represent stored procedures as well as scripts in data description language and data manipulation language, such as T-SQL. Data manipulation performed by embedded data manipulation statements (for example, embedded SQL) from code in some programming language (for example Cobol, or C) is represented via &quot;abstracted data actions&quot;. Abstracted actions represent a &quot;virtual&quot; data manipulation statement which is being implemented through embedded data manipulation constructs (and the corresponding &quot;generated&quot; API calls). </P>
<P CLASS="paragraph">
<A NAME="pgfId-1099791"></A>In the situation of the data manipulation and data description scripts that are executed directly by the relational database engine, KDM allows more tight integration of the corresponding CodeItem with the Data Model.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1099788"></A>&nbsp;</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1098955"></A>DataEvent Class </H4>
<P CLASS="Body">
<A NAME="pgfId-1098956"></A>The DataEvent class is a meta-model element that represents various events in databases which can trigger execution of stored procedures, the so-called triggers. KDM models database events as &quot;first class citizens&quot; of the KDM representation.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098957"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1098958"></A>DataResource</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1100060"></A>Attributes</H6>
<P CLASS="Body">
<A NAME="pgfId-1100066"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1100063"></A>kind :String</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1100065"></A>semantic description of the data event </H6>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099782"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1100835"></A>Events are changes in entities or in relations among entities, so that the core KDM elements are entities and relations rather than events. However, KDM represents events as &quot;first class citizens&quot;, although events might have to take on some of the character of entities for this to be acceptable. KDM data event represent various event in databases as KDM entities. Data event are associated with triggers. A trigger is a special kind of stored procedure that automatically executes when an event occurs in the database server. DML triggers execute when a user tries to modify data through a data manipulation language (DML) event. DML events are INSERT, UPDATE, or DELETE statements on a table or view. DDL triggers execute in response to a variety of data definition language (DDL) events. These events primarily correspond to CREATE, ALTER, and DROP statements, and certain system stored procedures that perform DDL-like operations. Logon triggers fire in response to the LOGON event that is raised when a user sessions is being established.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1100881"></A>As a subclass of AbstractDataElement, a DataEvent can own &quot;abstracted&quot; action element. Trigger is a stored procedure, which is represented as a CallableUnit, owned by a certain RelationalSchema. Trigger is associated with a data event through a Calls relationship, owned by the &quot;abstracted&quot; action of the corresponding data event. DataEvent is owned by a certain DataContainer.</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1103332"></A>DataAction class</H4>
<P CLASS="Body">
<A NAME="pgfId-1103333"></A>DataAction class follow the pattern of a &quot;resource action&quot; class, specific to the data package. The nature of the action represented by a particular element is designated by its &quot;kind&quot; attribute. Descriptions of the common platform action kind are provided in Appendix 2. Resource Layer actions.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1103334"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1103335"></A>AbstractDataElement</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1103336"></A>Attributes</H6>
<P CLASS="Body">
<A NAME="pgfId-1103342"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1103339"></A>kind:String</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<A NAME="pgfId-1103341"></A>represents the nature of the action performed by this element</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1103349"></A>Associations</H6>
<P CLASS="Body">
<A NAME="pgfId-1103355"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1103352"></A>implementation:ActionElement[0..*]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1103354"></A>group association to ActionElement represented by the current DataAction</H6>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1103367"></A>dataElement:DataEvent[0..*]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1103369"></A>event elements owned by the current DataAction</H6>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1103347"></A>Semantics</H6>
<P CLASS="Body">
<A NAME="pgfId-1103344"></A>DataAction represents an &quot;virtual&quot; action element which represents the logical action performed by the runtime platform of the existing software system.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1103330"></A>&nbsp;</P>
</DIV>
</DIV>
</DIV>
<DIV>
<H3 CLASS="Heading1">
<A NAME="pgfId-1096898"></A><A NAME="_Toc131848382"></A>ColumnSet Class Diagram</H3>
<P CLASS="Body">
<A NAME="pgfId-1096900"></A>The ColumnSet class diagram provides basic meta-model elements to define the tables and views of relational databases, segments of hierarchical databases and record files as collections of columns. The class diagram shown in <A HREF="KDM_1.0_18_datapkg.htm#63993" CLASS="XRef">See - ColumnSet Class Diagram.</A> captures these classes and their relations.</P>
<P CLASS="Body">
<A NAME="pgfId-1096840"></A>&nbsp;</P>
<DIV>
<IMG SRC="KDM_1.0_18_datapkg-4.gif">
</DIV>
<DIV>
<H6 CLASS="FigureCaption-">
<A NAME="pgfId-1096841"></A><A NAME="63993"></A>- ColumnSet Class Diagram</H6>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1096997"></A><A NAME="_Toc131848383"></A>ColumnSet (generic)</H4>
<P CLASS="Body">
<A NAME="pgfId-1096998"></A>The ColumnSet class is a generic meta-model element which represents collections of columns (also referred to as fields). Columns are modeled as ItemUnits.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1097000"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1097001"></A>DataContainer</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1097003"></A>Associations</H6>
<P CLASS="Body">
<A NAME="pgfId-1097009"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1097006"></A>itemUnit :ItemUnit[0..*]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1097008"></A>Individual columns owned by this ColumnSet are represented as data elements</H6>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1097012"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1100902"></A>ColumnSet corresponds to an ISO/IEC 11404 Table datatype, whose values are collections of values in the product space of one or more field datatypes, such that each value in the product space represents an association among the values of the fields. Although the field datatypes may be infinite, any given value of a table datatype contains a finite number of associations. </P>
<P CLASS="paragraph">
<A NAME="pgfId-1100909"></A>KDM defines several concrete subclasses of ColumnSet to represent several common data organizations, such as relational Tables and Views, Record files and Segments of hierarchical databases.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1100917"></A>Fields of the Columnset are represented as ItemUnits.</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1097015"></A><A NAME="_Toc131848384"></A>RelationalTable Class</H4>
<P CLASS="Body">
<A NAME="pgfId-1097017"></A>A RelationalTable is a specific subclass of ColumnSet class that represents tables of relational databases. </P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1097019"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1097020"></A>ColumnSet</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1097024"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1100932"></A>Tables are entities that contain all the data in relational databases. Each table represents a type of data that is meaningful to its users. A table definition is a collection of columns. In tables, data is organized in a row-and-column format similar to a spreadsheet. Each row represents a unique record, and each column represents a field within the record. For example, a table that contains employee data for a company can contain a row for each employee and columns representing employee information such as employee number, name, address, job title, and home telephone number.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1100934"></A>Tables in a relational database have the following main components:</P>
<UL>
<LI CLASS="Bullet1">
<A NAME="pgfId-1100936"></A>    Columns. Each column represents some attribute of the object modeled by the table, such as a parts table having columns for ID, color, and weight.</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1100938"></A>    Rows. Each row represents an individual occurrence of the object modeled by the table. For example, the parts table would have one row for each part carried by the company. </LI>
</UL>
<P CLASS="Body">
<A NAME="pgfId-1101013"></A>The PlatformResource that corresponds to RelationalTable is DataManager.</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099249"></A>Example (T-SQL)</H6>
<P CLASS="example">
<A NAME="pgfId-1100199"></A>CREATE TABLE products (ID int primary key, name varchar, type varchar)</P>
<P CLASS="example">
<A NAME="pgfId-1100200"></A>CREATE TABLE contracts (ID int primary key, product int, revenue decimal, dateSigned date)</P>
<P CLASS="example">
<A NAME="pgfId-1100201"></A>CREATE TABLE revenueRecognitions (contract int, amount decimal, recognizedOn date, </P>
<P CLASS="example">
<A NAME="pgfId-1100202"></A>	   PRIMARY KEY(contract, recognizedOn))</P>
<P CLASS="example">
<A NAME="pgfId-1100203"></A>&nbsp;</P>
<P CLASS="example">
<A NAME="pgfId-1100204"></A>CREATE PROCEDURE INSERT_RECOGNITION</P>
<P CLASS="example">
<A NAME="pgfId-1100205"></A>(IN contractID int, IN amount decimal, IN recognizedOn date, OUT result int)</P>
<P CLASS="example">
<A NAME="pgfId-1100206"></A>LANGUAGE SQL</P>
<P CLASS="example">
<A NAME="pgfId-1100207"></A>BEGIN</P>
<P CLASS="example">
<A NAME="pgfId-1100208"></A>	INSERT INTO revenueRecognitions VALUES( contractID, amount, recognizedOn);</P>
<P CLASS="example">
<A NAME="pgfId-1100209"></A>	SET result = 1;</P>
<P CLASS="example">
<A NAME="pgfId-1100210"></A>END</P>
<P CLASS="example">
<A NAME="pgfId-1100211"></A>&nbsp;</P>
<P CLASS="example">
<A NAME="pgfId-1100212"></A>CREATE TRIGGER reminder1</P>
<P CLASS="example">
<A NAME="pgfId-1100213"></A>ON Contracts.revenueRecognitions</P>
<P CLASS="example">
<A NAME="pgfId-1100214"></A>AFTER INSERT, UPDATE </P>
<P CLASS="example">
<A NAME="pgfId-1100215"></A>AS RAISERROR ('Notify Sales', 16, 10)</P>
<P CLASS="example">
<A NAME="pgfId-1099355"></A>GO</P>
<P CLASS="example">
<A NAME="pgfId-1100222"></A>&nbsp;</P>
<P CLASS="example">
<A NAME="pgfId-1100084"></A>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100085"></A>&lt;kdm:Segment xmi:version=&quot;2.1&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1100189"></A>	xmlns:xmi=&quot;http://www.omg.org/XMI&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1100190"></A>	xmlns:action=&quot;http://kdm.omg.org/action&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1100191"></A>	xmlns:code=&quot;http://kdm.omg.org/code&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1100192"></A>	xmlns:data=&quot;http://kdm.omg.org/data&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1100193"></A>	xmlns:kdm=&quot;http://kdm.omg.org/kdm&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1100194"></A>	xmlns:platform=&quot;http://kdm.omg.org/platform&quot; name=&quot;Schema Example&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100086"></A>  &lt;model xmi:id=&quot;id.0&quot; xmi:type=&quot;data:DataModel&quot; name=&quot;Contracts&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100087"></A>    &lt;dataElement xmi:id=&quot;id.1&quot; xmi:type=&quot;data:RelationalSchema&quot; name=&quot;Contracts&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100088"></A>      &lt;dataElement xmi:id=&quot;id.2&quot; xmi:type=&quot;data:RelationalTable&quot; name=&quot;products&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100089"></A>        &lt;dataElement xmi:id=&quot;id.3&quot; xmi:type=&quot;data:UniqueKey&quot; name=&quot;ID&quot; implementation=&quot;id.4&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100090"></A>        &lt;itemUnit xmi:id=&quot;id.4&quot; name=&quot;ID&quot; type=&quot;id.57&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100091"></A>        &lt;itemUnit xmi:id=&quot;id.5&quot; name=&quot;name&quot; type=&quot;id.58&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100092"></A>        &lt;itemUnit xmi:id=&quot;id.6&quot; name=&quot;type&quot; type=&quot;id.58&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100093"></A>      &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100094"></A>      &lt;dataElement xmi:id=&quot;id.7&quot; xmi:type=&quot;data:RelationalTable&quot; name=&quot;contracts&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100095"></A>        &lt;dataElement xmi:id=&quot;id.8&quot; xmi:type=&quot;data:UniqueKey&quot; name=&quot;ID&quot; implementation=&quot;id.11&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100096"></A>        &lt;dataElement xmi:id=&quot;id.9&quot; xmi:type=&quot;data:ReferenceKey&quot; implementation=&quot;id.12&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100097"></A>          &lt;dataRelation xmi:id=&quot;id.10&quot; xmi:type=&quot;data:KeyRelation&quot; to=&quot;id.3&quot; from=&quot;id.9&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100098"></A>        &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100099"></A>        &lt;itemUnit xmi:id=&quot;id.11&quot; name=&quot;ID&quot; type=&quot;id.57&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100100"></A>        &lt;itemUnit xmi:id=&quot;id.12&quot; name=&quot;product&quot; type=&quot;id.57&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100101"></A>        &lt;itemUnit xmi:id=&quot;id.13&quot; name=&quot;revenue&quot; type=&quot;id.59&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100102"></A>        &lt;itemUnit xmi:id=&quot;id.14&quot; name=&quot;dateSigned&quot; type=&quot;id.60&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100103"></A>      &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100104"></A>      &lt;dataElement xmi:id=&quot;id.15&quot; xmi:type=&quot;data:RelationalTable&quot; name=&quot;revenueRecognitions&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100105"></A>        &lt;dataElement xmi:id=&quot;id.16&quot; xmi:type=&quot;data:UniqueKey&quot; implementation=&quot;id.25 id.27&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100106"></A>        &lt;dataElement xmi:id=&quot;id.17&quot; xmi:type=&quot;data:ReferenceKey&quot; implementation=&quot;id.25&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100107"></A>          &lt;dataRelation xmi:id=&quot;id.18&quot; xmi:type=&quot;data:KeyRelation&quot; to=&quot;id.8&quot; from=&quot;id.17&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100108"></A>        &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100109"></A>        &lt;dataElement xmi:id=&quot;id.19&quot; xmi:type=&quot;data:DataEvent&quot; name=&quot;e1&quot; kind=&quot;Insert&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100110"></A>          &lt;abstraction xmi:id=&quot;id.20&quot; name=&quot;e1.1&quot; kind=&quot;Call&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100111"></A>            &lt;actionRelation xmi:id=&quot;id.21&quot; xmi:type=&quot;action:Calls&quot; to=&quot;id.47&quot; from=&quot;id.20&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100112"></A>          &lt;/abstraction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100113"></A>        &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100114"></A>        &lt;dataElement xmi:id=&quot;id.22&quot; xmi:type=&quot;data:DataEvent&quot; name=&quot;e2&quot; kind=&quot;Update&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100115"></A>          &lt;abstraction xmi:id=&quot;id.23&quot; name=&quot;e2.1&quot; kind=&quot;Call&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100116"></A>            &lt;actionRelation xmi:id=&quot;id.24&quot; xmi:type=&quot;action:Calls&quot; to=&quot;id.47&quot; from=&quot;id.23&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100117"></A>          &lt;/abstraction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100118"></A>        &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100119"></A>        &lt;itemUnit xmi:id=&quot;id.25&quot; name=&quot;contract&quot; type=&quot;id.57&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100120"></A>        &lt;itemUnit xmi:id=&quot;id.26&quot; name=&quot;amount&quot; type=&quot;id.59&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100121"></A>        &lt;itemUnit xmi:id=&quot;id.27&quot; name=&quot;recognizedOn&quot; type=&quot;id.60&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100122"></A>      &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100123"></A>      &lt;codeElement xmi:id=&quot;id.28&quot; xmi:type=&quot;code:CallableUnit&quot; name=&quot;INSERT_RECOGNITIONS&quot; kind=&quot;regular&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100124"></A>        &lt;entryFlow xmi:id=&quot;id.29&quot; to=&quot;id.35&quot; from=&quot;id.28&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100125"></A>        &lt;codeElement xmi:id=&quot;id.30&quot; xmi:type=&quot;code:Signature&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100126"></A>          &lt;parameterUnit xmi:id=&quot;id.31&quot; name=&quot;contractID&quot; type=&quot;id.57&quot; pos=&quot;1&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100127"></A>          &lt;parameterUnit xmi:id=&quot;id.32&quot; name=&quot;amount&quot; type=&quot;id.59&quot; pos=&quot;2&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100128"></A>          &lt;parameterUnit xmi:id=&quot;id.33&quot; name=&quot;recognizedOn&quot; type=&quot;id.60&quot; pos=&quot;3&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100129"></A>          &lt;parameterUnit xmi:id=&quot;id.34&quot; name=&quot;result&quot; type=&quot;id.57&quot; kind=&quot;byReference&quot; pos=&quot;4&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100130"></A>        &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100131"></A>        &lt;codeElement xmi:id=&quot;id.35&quot; xmi:type=&quot;action:ActionElement&quot; name=&quot;a1&quot; kind=&quot;Insert&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100132"></A>          &lt;source xmi:id=&quot;id.36&quot; language=&quot;SQL&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1100195"></A>		snippet=&quot;INSERT INTO revenueRecognitions VALUES( contractID, amount, recognizedOn);&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100133"></A>          &lt;actionRelation xmi:id=&quot;id.37&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.31&quot; from=&quot;id.35&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100134"></A>          &lt;actionRelation xmi:id=&quot;id.38&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.32&quot; from=&quot;id.35&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100135"></A>          &lt;actionRelation xmi:id=&quot;id.39&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.33&quot; from=&quot;id.35&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100136"></A>          &lt;actionRelation xmi:id=&quot;id.40&quot; xmi:type=&quot;data:WritesColumnSet&quot; to=&quot;id.15&quot; from=&quot;id.35&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100137"></A>          &lt;actionRelation xmi:id=&quot;id.41&quot; xmi:type=&quot;data:ProducesDataEvent&quot; to=&quot;id.19&quot; from=&quot;id.35&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100138"></A>        &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100139"></A>        &lt;codeElement xmi:id=&quot;id.42&quot; xmi:type=&quot;action:ActionElement&quot; name=&quot;a2&quot; kind=&quot;Assign&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100140"></A>          &lt;source xmi:id=&quot;id.43&quot; language=&quot;SQL&quot; snippet=&quot;SET result = 1;&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100141"></A>          &lt;codeElement xmi:id=&quot;id.44&quot; xmi:type=&quot;code:Value&quot; name=&quot;1&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100142"></A>          &lt;actionRelation xmi:id=&quot;id.45&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.44&quot; from=&quot;id.42&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100143"></A>          &lt;actionRelation xmi:id=&quot;id.46&quot; xmi:type=&quot;action:Writes&quot; to=&quot;id.34&quot; from=&quot;id.42&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100144"></A>        &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100145"></A>      &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100146"></A>      &lt;codeElement xmi:id=&quot;id.47&quot; xmi:type=&quot;code:CallableUnit&quot; name=&quot;reminder1&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100147"></A>        &lt;entryFlow xmi:id=&quot;id.48&quot; to=&quot;id.49&quot; from=&quot;id.47&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100148"></A>        &lt;codeElement xmi:id=&quot;id.49&quot; xmi:type=&quot;action:ActionElement&quot; name=&quot;a3&quot; kind=&quot;Throw&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100149"></A>          &lt;codeElement xmi:id=&quot;id.50&quot; xmi:type=&quot;code:ValueList&quot; name=&quot;error&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100150"></A>            &lt;valueElement xmi:id=&quot;id.51&quot; xmi:type=&quot;code:Value&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1100196"></A>			name=&quot;&amp;quot;Notify sales!&amp;quot;&quot; type=&quot;id.58&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100151"></A>            &lt;valueElement xmi:id=&quot;id.52&quot; xmi:type=&quot;code:Value&quot; name=&quot;16&quot; type=&quot;id.57&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100152"></A>            &lt;valueElement xmi:id=&quot;id.53&quot; xmi:type=&quot;code:Value&quot; name=&quot;10&quot; type=&quot;id.57&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100153"></A>          &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100154"></A>          &lt;actionRelation xmi:id=&quot;id.54&quot; xmi:type=&quot;action:Throws&quot; to=&quot;id.50&quot; from=&quot;id.49&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100155"></A>        &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100156"></A>      &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100157"></A>    &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100158"></A>  &lt;/model&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100159"></A>  &lt;model xmi:id=&quot;id.55&quot; xmi:type=&quot;code:CodeModel&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100160"></A>    &lt;codeElement xmi:id=&quot;id.56&quot; xmi:type=&quot;code:LanguageUnit&quot; name=&quot;SQL datatypes&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100161"></A>      &lt;codeElement xmi:id=&quot;id.57&quot; xmi:type=&quot;code:IntegerType&quot; name=&quot;sql int&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100162"></A>      &lt;codeElement xmi:id=&quot;id.58&quot; xmi:type=&quot;code:StringType&quot; name=&quot;sql varchar&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100163"></A>      &lt;codeElement xmi:id=&quot;id.59&quot; xmi:type=&quot;code:DecimalType&quot; name=&quot;sql decimal&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100164"></A>      &lt;codeElement xmi:id=&quot;id.60&quot; xmi:type=&quot;code:DateType&quot; name=&quot;sql date&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100165"></A>      &lt;codeElement xmi:id=&quot;id.61&quot; xmi:type=&quot;code:BooleanType&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100166"></A>    &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100167"></A>  &lt;/model&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100168"></A>  &lt;model xmi:id=&quot;id.62&quot; xmi:type=&quot;platform:PlatformModel&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100169"></A>    &lt;platformElement xmi:id=&quot;id.63&quot; xmi:type=&quot;platform:ExternalActor&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100170"></A>      &lt;abstraction xmi:id=&quot;id.64&quot; &gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100171"></A>        &lt;actionRelation xmi:id=&quot;id.65&quot; xmi:type=&quot;data:ProducesDataEvent&quot; to=&quot;id.19&quot; from=&quot;id.64&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100172"></A>      &lt;/abstraction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100173"></A>    &lt;/platformElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100174"></A>  &lt;/model&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100175"></A>&lt;/kdm:Segment&gt;</P>
<P CLASS="paragraph">
<A NAME="pgfId-1099247"></A>&nbsp;</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1100228"></A><A NAME="_Toc131848385"></A>RelationalView Class</H4>
<P CLASS="Body">
<A NAME="pgfId-1100961"></A>A RelationalView class is a specific subclass of the ColumnSet class that represents Views of relational databases. A view is a virtual table whose contents are defined by a query. Like a real table, a view consists of a set of named columns and rows of data. Unless indexed, a view does not exist as a stored set of data values in a database. The rows and columns of data come from tables referenced in the query defining the view and are produced dynamically when the view is referenced.</P>
<P CLASS="Body">
<A NAME="pgfId-1100970"></A>A view acts as a filter on the underlying tables referenced in the view. The query that defines the view can be from one or more tables or from other views in the current or other databases. Distributed queries can also be used to define views that use data from multiple heterogeneous sources. This is useful, for example, if you want to combine similarly structured data from different servers, each of which stores data for a different region of your organization.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1100230"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1100231"></A>ColumnSet</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1100232"></A>Constraints</H6>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1100233"></A>Semantics</H6>
<P CLASS="Body">
<A NAME="pgfId-1101003"></A>A view can be thought of as either a virtual table or a stored query. Unless a view is indexed, its data is not stored in the database as a distinct object. What is stored in the database is a SELECT statement. The result set of the SELECT statement forms the virtual table returned by the view. A user can use this virtual table by referencing the view name in SQL statements the same way a table is referenced. Usually there are no restrictions on querying through views and few restrictions on modifying data through them.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1100995"></A>In KDM, a RelationalView owns ItemUnits which correspond to the fields of the virtual table. An &quot;abstracted&quot; action of the View can stored the corresponding SELECT statement.</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1103376"></A>DataSegment Class</H4>
<P CLASS="Body">
<A NAME="pgfId-1103377"></A>A DataSegment class is meta-model element that represents a segment of a hierarchical database, such as IMS. </P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1103378"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1103379"></A>ColumnSet</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1103380"></A>Constraints</H6>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1103381"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1103382"></A>A hierarchical database is a kind of database management system that links records together in a tree data structure such that each record type has only one owner. Hierarchical structures were widely used in the first mainframe database management systems. However, due to their restrictions, they often cannot be used to relate structures that exist in the real world. </P>
<P CLASS="Body">
<A NAME="pgfId-1103383"></A>&nbsp;</P>
<P CLASS="paragraph">
<A NAME="pgfId-1103384"></A>A database segment defines the fields for a set of segment instances similar to the way a relational table defines columns for a set of rows in a table. In this way, segments relate to relational tables, and fields in a segment relate to columns in a relational table. </P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1103385"></A>Example (IMS):</H6>
<P CLASS="example">
<A NAME="pgfId-1103386"></A>DLR_PCB1 PCB TYPE=DB,DBDNAME=DEALERDB,PROCOPT=GO,KEYLEN=42 </P>
<P CLASS="example">
<A NAME="pgfId-1103387"></A>SENSEG NAME=DEALER,PARENT=0 </P>
<P CLASS="example">
<A NAME="pgfId-1103388"></A>SENSEG NAME=MODEL,PARENT=DEALER </P>
<P CLASS="example">
<A NAME="pgfId-1103389"></A>SENSEG NAME=ORDER,PARENT=MODEL </P>
<P CLASS="example">
<A NAME="pgfId-1103390"></A>SENSEG NAME=SALES,PARENT=MODEL </P>
<P CLASS="example">
<A NAME="pgfId-1103391"></A>SENSEG NAME=STOCK,PARENT=MODEL </P>
<P CLASS="example">
<A NAME="pgfId-1103392"></A>PSBGEN PSBNAME=DLR_PSB,MAXQ=200,LANG=JAVA </P>
<P CLASS="example">
<A NAME="pgfId-1103393"></A>END</P>
<P CLASS="example">
<A NAME="pgfId-1103394"></A>&nbsp;</P>
<P CLASS="example">
<A NAME="pgfId-1103395"></A>DBD NAME=DEALERDB,ACCESS=(HDAM,OSAM),RMNAME=(DFSHDC40.1.10) </P>
<P CLASS="example">
<A NAME="pgfId-1103396"></A>SEGM NAME=DEALER,PARENT=0,BYTES=94, </P>
<P CLASS="example">
<A NAME="pgfId-1103397"></A>FIELD NAME=(DLRNO,SEQ,U),BYTES=4,START=1,TYPE=C </P>
<P CLASS="example">
<A NAME="pgfId-1103398"></A>FIELD NAME=DLRNAME,BYTES=30,START=5,TYPE=C </P>
<P CLASS="example">
<A NAME="pgfId-1103399"></A>SEGM NAME=MODEL,PARENT=DEALER,BYTES=43 </P>
<P CLASS="example">
<A NAME="pgfId-1103400"></A>FIELD NAME=(MODTYPE,SEQ,U),BYTES=2,START=1,TYPE=C </P>
<P CLASS="example">
<A NAME="pgfId-1103401"></A>FIELD NAME=MAKE,BYTES=10,START=3,TYPE=C </P>
<P CLASS="example">
<A NAME="pgfId-1103402"></A>FIELD NAME=MODEL,BYTES=10,START=13,TYPE=C </P>
<P CLASS="example">
<A NAME="pgfId-1103403"></A>FIELD NAME=YEAR,BYTES=4,START=23,TYPE=C </P>
<P CLASS="example">
<A NAME="pgfId-1103404"></A>FIELD NAME=MSRP,BYTES=5,START=27,TYPE=P </P>
<P CLASS="example">
<A NAME="pgfId-1103405"></A>SEGM NAME=ORDER,PARENT=MODEL,BYTES=127 </P>
<P CLASS="example">
<A NAME="pgfId-1103406"></A>FIELD NAME=(ORDNBR,SEQ,U),BYTES=6,START=1,TYPE=C </P>
<P CLASS="example">
<A NAME="pgfId-1103407"></A>FIELD NAME=LASTNME,BYTES=25,START=50,TYPE=C </P>
<P CLASS="example">
<A NAME="pgfId-1103408"></A>FIELD NAME=FIRSTNME,BYTES=25,START=75,TYPE=C </P>
<P CLASS="example">
<A NAME="pgfId-1103409"></A>SEGM NAME=SALES,PARENT=MODEL,BYTES=113 </P>
<P CLASS="example">
<A NAME="pgfId-1103410"></A>FIELD NAME=(SALDATE,SEQ,U),BYTES=8,START=1,TYPE=C </P>
<P CLASS="example">
<A NAME="pgfId-1103411"></A>FIELD NAME=LASTNME,BYTES=25,START=9,TYPE=C </P>
<P CLASS="example">
<A NAME="pgfId-1103412"></A>FIELD NAME=FIRSTNME,BYTES=25,START=34,TYPE=C </P>
<P CLASS="example">
<A NAME="pgfId-1103413"></A>FIELD NAME=STKVIN,BYTES=20,START=94,TYPE=C </P>
<P CLASS="example">
<A NAME="pgfId-1103414"></A>SEGM NAME=STOCK,PARENT=MODEL,BYTES=62 </P>
<P CLASS="example">
<A NAME="pgfId-1103415"></A>FIELD NAME=(STKVIN,SEQ,U),BYTES=20,START=1,TYPE=C </P>
<P CLASS="example">
<A NAME="pgfId-1103416"></A>FIELD NAME=COLOR,BYTES=10,START=37,TYPE=C </P>
<P CLASS="example">
<A NAME="pgfId-1103417"></A>FIELD NAME=PRICE,BYTES=5,START=47,TYPE=C </P>
<P CLASS="example">
<A NAME="pgfId-1103418"></A>FIELD NAME=LOT,BYTES=10,START=52,TYPE=C </P>
<P CLASS="example">
<A NAME="pgfId-1103419"></A>DBDGEN </P>
<P CLASS="example">
<A NAME="pgfId-1103420"></A>FINISH </P>
<P CLASS="example">
<A NAME="pgfId-1103421"></A>END</P>
<P CLASS="example">
<A NAME="pgfId-1103422"></A>&nbsp;</P>
<P CLASS="example">
<A NAME="pgfId-1103423"></A>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103424"></A>&lt;kdm:Segment xmi:version=&quot;2.1&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1103425"></A>	xmlns:xmi=&quot;http://www.omg.org/XMI&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1103426"></A>	xmlns:code=&quot;http://kdm.omg.org/code&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1103427"></A>	xmlns:data=&quot;http://kdm.omg.org/data&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1103428"></A>	xmlns:kdm=&quot;http://kdm.omg.org/kdm&quot; name=&quot;IMS Example&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103429"></A>  &lt;model xmi:id=&quot;id.0&quot; xmi:type=&quot;data:DataModel&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103430"></A>    &lt;dataElement xmi:id=&quot;id.1&quot; xmi:type=&quot;data:Catalog&quot; name=&quot;DEALERDB&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103431"></A>      &lt;dataElement xmi:id=&quot;id.2&quot; xmi:type=&quot;data:DataSegment&quot; name=&quot;Dealer&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103432"></A>        &lt;dataElement xmi:id=&quot;id.3&quot; xmi:type=&quot;data:DataSegment&quot; name=&quot;Model&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103433"></A>          &lt;dataElement xmi:id=&quot;id.4&quot; xmi:type=&quot;data:DataSegment&quot; name=&quot;Order&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103434"></A>            &lt;dataElement xmi:id=&quot;id.5&quot; xmi:type=&quot;data:UniqueKey&quot; implementation=&quot;id.6&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103435"></A>            &lt;itemUnit xmi:id=&quot;id.6&quot; name=&quot;ORDNBR&quot; type=&quot;id.30&quot; size=&quot;2&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103436"></A>            &lt;itemUnit xmi:id=&quot;id.7&quot; name=&quot;LASTNME&quot; type=&quot;id.30&quot; size=&quot;25&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103437"></A>            &lt;itemUnit xmi:id=&quot;id.8&quot; name=&quot;FIRSTNME&quot; type=&quot;id.30&quot; size=&quot;25&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103438"></A>          &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103439"></A>          &lt;dataElement xmi:id=&quot;id.9&quot; xmi:type=&quot;data:DataSegment&quot; name=&quot;Sales&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103440"></A>            &lt;dataElement xmi:id=&quot;id.10&quot; xmi:type=&quot;data:UniqueKey&quot; implementation=&quot;id.11&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103441"></A>            &lt;itemUnit xmi:id=&quot;id.11&quot; name=&quot;SALDATE&quot; type=&quot;id.30&quot; size=&quot;8&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103442"></A>            &lt;itemUnit xmi:id=&quot;id.12&quot; name=&quot;LASTNME&quot; type=&quot;id.30&quot; size=&quot;25&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103443"></A>            &lt;itemUnit xmi:id=&quot;id.13&quot; name=&quot;FIRSTNME&quot; type=&quot;id.30&quot; size=&quot;25&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103444"></A>            &lt;itemUnit xmi:id=&quot;id.14&quot; name=&quot;STKVIN&quot; type=&quot;id.30&quot; size=&quot;20&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103445"></A>          &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103446"></A>          &lt;dataElement xmi:id=&quot;id.15&quot; xmi:type=&quot;data:DataSegment&quot; name=&quot;Stock&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103447"></A>            &lt;dataElement xmi:id=&quot;id.16&quot; xmi:type=&quot;data:UniqueKey&quot; implementation=&quot;id.17&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103448"></A>            &lt;itemUnit xmi:id=&quot;id.17&quot; name=&quot;STKVIN&quot; type=&quot;id.30&quot; size=&quot;20&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103449"></A>            &lt;itemUnit xmi:id=&quot;id.18&quot; name=&quot;COLOR&quot; type=&quot;id.30&quot; size=&quot;10&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103450"></A>            &lt;itemUnit xmi:id=&quot;id.19&quot; name=&quot;PRICE&quot; type=&quot;id.30&quot; size=&quot;5&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103451"></A>            &lt;itemUnit xmi:id=&quot;id.20&quot; name=&quot;LOT&quot; type=&quot;id.30&quot; size=&quot;10&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103452"></A>          &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103453"></A>          &lt;dataElement xmi:id=&quot;id.21&quot; xmi:type=&quot;data:UniqueKey&quot; implementation=&quot;id.22&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103454"></A>          &lt;itemUnit xmi:id=&quot;id.22&quot; name=&quot;MODTYPE&quot; type=&quot;id.30&quot; size=&quot;2&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103455"></A>          &lt;itemUnit xmi:id=&quot;id.23&quot; name=&quot;MAKE&quot; size=&quot;10&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103456"></A>          &lt;itemUnit xmi:id=&quot;id.24&quot; name=&quot;YEAR&quot; size=&quot;4&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103457"></A>          &lt;itemUnit xmi:id=&quot;id.25&quot; name=&quot;MSRP&quot; type=&quot;id.31&quot; size=&quot;5&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103458"></A>        &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103459"></A>        &lt;dataElement xmi:id=&quot;id.26&quot; xmi:type=&quot;data:UniqueKey&quot; implementation=&quot;id.27&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103460"></A>        &lt;itemUnit xmi:id=&quot;id.27&quot; name=&quot;DRLNO&quot; type=&quot;id.30&quot; size=&quot;4&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103461"></A>        &lt;itemUnit xmi:id=&quot;id.28&quot; name=&quot;DLRNAME&quot; size=&quot;30&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103462"></A>      &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103463"></A>    &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103464"></A>  &lt;/model&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103465"></A>  &lt;model xmi:id=&quot;id.29&quot; xmi:type=&quot;code:CodeModel&quot; name=&quot;Common IMS datatypes&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103466"></A>    &lt;codeElement xmi:id=&quot;id.30&quot; xmi:type=&quot;code:StringType&quot; name=&quot;IMS type c&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103467"></A>    &lt;codeElement xmi:id=&quot;id.31&quot; xmi:type=&quot;code:DecimalType&quot; name=&quot;IMS type packeddecimal&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103468"></A>  &lt;/model&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103469"></A>&lt;/kdm:Segment&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103470"></A>&nbsp;</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1100272"></A>RecordFile Class</H4>
<P CLASS="Body">
<A NAME="pgfId-1100273"></A>The RecordFile class is a meta-model element which represents files as a set of records. RecordFile can be indexed or sequential.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1100240"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1100241"></A>ColumnSet</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1100242"></A>Constraints</H6>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1100243"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1100225"></A> In a non-relational database system, a record is an entry in a file, consisting of individual elements of information, which together provide full details about an aspect of the information needed by the system. Individual elements are held in fields and all records are held in files. An example of a record might be an employee. Every detail of the employee, for example, date of birth, department code, or full names will be found in a number of fields. A file is a set of records, where each record is a sequence of fields. A sequential file is a computer file storage format in which one record follows another. Records can be accessed sequentially only. It is required with magnetic tape. An indexed file owns one or more indexes that allow records to be retrieved by a specific value or in a particular sort order.</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1102999"></A>Example (cobol):</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1103267"></A>The following example illustrates the representation of RecordFile. The CodeModel of this example is incomplete as it focuses on the DataModel, and well as combined representation involving the CodeMode, DataModel, PlatformModel and EventModel.</P>
<P CLASS="example">
<A NAME="pgfId-1103005"></A>FILE-CONTROL.</P>
<P CLASS="example">
<A NAME="pgfId-1103006"></A>   SELECT SEQUENTIAL-FILE ASSIGN TO 'A:&#92;SEQ.DAT'</P>
<P CLASS="example">
<A NAME="pgfId-1103007"></A>      ORGANIZATION IS LINE SEQUENTIAL.</P>
<P CLASS="example">
<A NAME="pgfId-1103008"></A>   SELECT INDEXED-FILE</P>
<P CLASS="example">
<A NAME="pgfId-1103009"></A>      ASSIGN TO 'A:&#92;INDMAST.DAT'</P>
<P CLASS="example">
<A NAME="pgfId-1103010"></A>      ORGANIZATION IS INDEXED</P>
<P CLASS="example">
<A NAME="pgfId-1103011"></A>      ASSESS IS SEQUENTIAL</P>
<P CLASS="example">
<A NAME="pgfId-1103012"></A>      RECORD KEY IS IND-SOC-SEC-NUM</P>
<P CLASS="example">
<A NAME="pgfId-1103013"></A>      FILE STATUS IS INDEXED-STATUS-BYTES.</P>
<P CLASS="example">
<A NAME="pgfId-1103014"></A>      </P>
<P CLASS="example">
<A NAME="pgfId-1103015"></A>FILE SECTION.</P>
<P CLASS="example">
<A NAME="pgfId-1103016"></A>FD SEQUENTIAL FILE</P>
<P CLASS="example">
<A NAME="pgfId-1103017"></A>   RECORD COTNAINS 39 CHARACTERS</P>
<P CLASS="example">
<A NAME="pgfId-1103018"></A>   DATA RECORD IS SEQUENTIAL-RECORD.</P>
<P CLASS="example">
<A NAME="pgfId-1103019"></A>01 SEQUENTIAL-RECORD.</P>
<P CLASS="example">
<A NAME="pgfId-1103020"></A>	05 SEQ-SOC-SEC-NUM 			PIC X(9).</P>
<P CLASS="example">
<A NAME="pgfId-1103021"></A>	05 SEQ-REST-OF-RECORD		PIC X(30).</P>
<P CLASS="example">
<A NAME="pgfId-1103022"></A>&nbsp;</P>
<P CLASS="example">
<A NAME="pgfId-1103023"></A>FD INDEXED-FILE</P>
<P CLASS="example">
<A NAME="pgfId-1103024"></A>	RECORD CONTAINS 39 CHARACTERS</P>
<P CLASS="example">
<A NAME="pgfId-1103025"></A>	DATA RECORD IS INDEXED-RECORD.</P>
<P CLASS="example">
<A NAME="pgfId-1103026"></A>01  INDEXED-RECORD.</P>
<P CLASS="example">
<A NAME="pgfId-1103027"></A>	05 IND-SOC-SEC-NUM  		PIC X(9).</P>
<P CLASS="example">
<A NAME="pgfId-1103028"></A>	05 IND-REST-OF-RECORD		PIC X(30).</P>
<P CLASS="example">
<A NAME="pgfId-1103029"></A>	</P>
<P CLASS="example">
<A NAME="pgfId-1103030"></A>PROCEDURE DIVISION.</P>
<P CLASS="example">
<A NAME="pgfId-1103031"></A>0010-UPDATE-MASTER-FILE.</P>
<P CLASS="example">
<A NAME="pgfId-1103032"></A>	OPEN INPUT SEQUENTIAL-FILE</P>
<P CLASS="example">
<A NAME="pgfId-1103033"></A>		OUTPUT INDEXED-FILE.</P>
<P CLASS="example">
<A NAME="pgfId-1103034"></A>	PERFROM UNTIL END-OF-FILE-SWITCH = 'YES'</P>
<P CLASS="example">
<A NAME="pgfId-1103035"></A>		READ SEQUENTIAL-FILE</P>
<P CLASS="example">
<A NAME="pgfId-1103036"></A>			AT END</P>
<P CLASS="example">
<A NAME="pgfId-1103037"></A>				MOVE 'YES' TO END-OF-FILE-SWITCH</P>
<P CLASS="example">
<A NAME="pgfId-1103038"></A>			NOT AT END</P>
<P CLASS="example">
<A NAME="pgfId-1103039"></A>				MOVE SEQ-SOC-SEC-NUM TO IND-SOC-SEC-NUM</P>
<P CLASS="example">
<A NAME="pgfId-1103040"></A>				MOVE SEQ-REST-OF-RECORD TO IND-REST-OF-RECORD</P>
<P CLASS="example">
<A NAME="pgfId-1103041"></A>				WRITE INDEXED-RECORD</P>
<P CLASS="example">
<A NAME="pgfId-1103042"></A>					INVALID KEY PERFORM 0020-EXPLAIN-WRITE-ERROR</P>
<P CLASS="example">
<A NAME="pgfId-1103043"></A>				END-WRITE</P>
<P CLASS="example">
<A NAME="pgfId-1103044"></A>		END-READ</P>
<P CLASS="example">
<A NAME="pgfId-1103045"></A>	END-PERFORM.</P>
<P CLASS="example">
<A NAME="pgfId-1103046"></A>	CLOSE SEQUENTIAL-FILE</P>
<P CLASS="example">
<A NAME="pgfId-1103000"></A>			INDEXED-FILE.</P>
<P CLASS="example">
<A NAME="pgfId-1103060"></A>&nbsp;</P>
<P CLASS="example">
<A NAME="pgfId-1103063"></A>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103064"></A>&lt;kdm:Segment xmi:version=&quot;2.1&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1103259"></A>	xmlns:xmi=&quot;http://www.omg.org/XMI&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1103260"></A>	xmlns:action=&quot;http://kdm.omg.org/action&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1103261"></A>	xmlns:code=&quot;http://kdm.omg.org/code&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1103262"></A>	xmlns:data=&quot;http://kdm.omg.org/data&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1103263"></A>	xmlns:event=&quot;http://kdm.omg.org/event&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1103264"></A>	xmlns:kdm=&quot;http://kdm.omg.org/kdm&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1103265"></A>	xmlns:platform=&quot;http://kdm.omg.org/platform&quot; name=&quot;RecordFile example&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103065"></A>  &lt;model xmi:id=&quot;id.0&quot; xmi:type=&quot;data:DataModel&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103066"></A>    &lt;dataElement xmi:id=&quot;id.1&quot; xmi:type=&quot;data:RecordFile&quot; name=&quot;SEQUENTIAL-FILE&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103067"></A>      &lt;itemUnit xmi:id=&quot;id.2&quot; name=&quot;SEQ-SOC-SEC-NUM&quot; type=&quot;id.115&quot; ext=&quot;PIC X(9)&quot; size=&quot;9&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103068"></A>      &lt;itemUnit xmi:id=&quot;id.3&quot; name=&quot;SEQ-REST-OF-RECORD&quot; type=&quot;id.115&quot; ext=&quot;PIC X(30)&quot; size=&quot;30&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103069"></A>    &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103070"></A>    &lt;dataElement xmi:id=&quot;id.4&quot; xmi:type=&quot;data:RecordFile&quot; name=&quot;INDEXED-FILE&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103071"></A>      &lt;dataElement xmi:id=&quot;id.5&quot; xmi:type=&quot;data:UniqueKey&quot; implementation=&quot;id.7&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103072"></A>      &lt;dataElement xmi:id=&quot;id.6&quot; xmi:type=&quot;data:Index&quot; implementation=&quot;id.7&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103073"></A>      &lt;itemUnit xmi:id=&quot;id.7&quot; name=&quot;IND-SOC-SEC-NUM&quot; type=&quot;id.115&quot; ext=&quot;PIC X(9)&quot; size=&quot;9&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103074"></A>      &lt;itemUnit xmi:id=&quot;id.8&quot; name=&quot;IND-REST-OF-RECORD&quot; type=&quot;id.115&quot; ext=&quot;PIC X(30)&quot; size=&quot;30&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103075"></A>    &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103076"></A>    &lt;dataElement xmi:id=&quot;id.9&quot; xmi:type=&quot;data:DataAction&quot; name=&quot;da1&quot; kind=&quot;open&quot; implementation=&quot;id.44&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103077"></A>      &lt;abstraction xmi:id=&quot;id.10&quot; name=&quot;da1&quot; kind=&quot;open&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103078"></A>        &lt;actionRelation xmi:id=&quot;id.11&quot; xmi:type=&quot;data:ManagesData&quot; to=&quot;id.1&quot; from=&quot;id.10&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103079"></A>        &lt;actionRelation xmi:id=&quot;id.12&quot; xmi:type=&quot;platform:ManagesResource&quot; to=&quot;id.75&quot; from=&quot;id.10&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103080"></A>      &lt;/abstraction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103081"></A>    &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103082"></A>    &lt;dataElement xmi:id=&quot;id.13&quot; xmi:type=&quot;data:DataAction&quot; name=&quot;da2&quot; kind=&quot;open&quot; implementation=&quot;id.44&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103083"></A>      &lt;abstraction xmi:id=&quot;id.14&quot; name=&quot;da2&quot; kind=&quot;open&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103084"></A>        &lt;actionRelation xmi:id=&quot;id.15&quot; xmi:type=&quot;platform:ManagesResource&quot; to=&quot;id.79&quot; from=&quot;id.14&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103085"></A>        &lt;actionRelation xmi:id=&quot;id.16&quot; xmi:type=&quot;data:ManagesData&quot; to=&quot;id.4&quot; from=&quot;id.14&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103086"></A>      &lt;/abstraction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103087"></A>    &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103088"></A>    &lt;dataElement xmi:id=&quot;id.17&quot; xmi:type=&quot;data:DataAction&quot; name=&quot;da3&quot; kind=&quot;read&quot; implementation=&quot;id.47&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103089"></A>      &lt;abstraction xmi:id=&quot;id.18&quot; name=&quot;da3&quot; kind=&quot;read&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103090"></A>        &lt;actionRelation xmi:id=&quot;id.19&quot; xmi:type=&quot;data:ReadsColumnSet&quot; to=&quot;id.1&quot; from=&quot;id.18&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103091"></A>        &lt;actionRelation xmi:id=&quot;id.20&quot; xmi:type=&quot;action:Writes&quot; to=&quot;id.2&quot; from=&quot;id.18&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103092"></A>        &lt;actionRelation xmi:id=&quot;id.21&quot; xmi:type=&quot;action:Writes&quot; to=&quot;id.3&quot; from=&quot;id.18&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103093"></A>        &lt;actionRelation xmi:id=&quot;id.22&quot; xmi:type=&quot;platform:ReadsResource&quot; to=&quot;id.75&quot; from=&quot;id.18&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103094"></A>      &lt;/abstraction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103095"></A>      &lt;dataElement xmi:id=&quot;id.23&quot; name=&quot;at end&quot; kind=&quot;EOF&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103096"></A>        &lt;abstraction xmi:id=&quot;id.24&quot; name=&quot;ae1&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103097"></A>          &lt;actionRelation xmi:id=&quot;id.25&quot; xmi:type=&quot;action:ExceptionFlow&quot; to=&quot;id.50&quot; from=&quot;id.24&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103098"></A>        &lt;/abstraction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103099"></A>      &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103100"></A>      &lt;dataElement xmi:id=&quot;id.26&quot; name=&quot;not at end&quot; kind=&quot;NOT EOF&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103101"></A>        &lt;abstraction xmi:id=&quot;id.27&quot; name=&quot;nae1&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103102"></A>          &lt;actionRelation xmi:id=&quot;id.28&quot; xmi:type=&quot;action:Flow&quot; to=&quot;id.53&quot; from=&quot;id.27&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103103"></A>        &lt;/abstraction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103104"></A>      &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103105"></A>    &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103106"></A>    &lt;dataElement xmi:id=&quot;id.29&quot; xmi:type=&quot;data:DataAction&quot; name=&quot;da4&quot; kind=&quot;write&quot;</P>
<P CLASS="example">
<A NAME="pgfId-1103476"></A>			 implementation=&quot;id.59&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103107"></A>      &lt;abstraction xmi:id=&quot;id.30&quot; name=&quot;da4&quot; kind=&quot;write&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103108"></A>        &lt;actionRelation xmi:id=&quot;id.31&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.7&quot; from=&quot;id.30&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103109"></A>        &lt;actionRelation xmi:id=&quot;id.32&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.8&quot; from=&quot;id.30&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103110"></A>        &lt;actionRelation xmi:id=&quot;id.33&quot; xmi:type=&quot;data:WritesColumnSet&quot; to=&quot;id.4&quot; from=&quot;id.30&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103111"></A>        &lt;actionRelation xmi:id=&quot;id.34&quot; xmi:type=&quot;platform:WritesResource&quot; to=&quot;id.79&quot; from=&quot;id.30&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103112"></A>      &lt;/abstraction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103113"></A>      &lt;dataElement xmi:id=&quot;id.35&quot; name=&quot;invalid key&quot; kind=&quot;INVALID KEY&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103114"></A>        &lt;abstraction xmi:id=&quot;id.36&quot; name=&quot;ik1&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103115"></A>          &lt;actionRelation xmi:id=&quot;id.37&quot; xmi:type=&quot;action:ExceptionFlow&quot; to=&quot;id.62&quot; from=&quot;id.36&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103116"></A>        &lt;/abstraction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103117"></A>      &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103118"></A>    &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103119"></A>    &lt;dataElement xmi:id=&quot;id.38&quot; xmi:type=&quot;data:DataAction&quot; name=&quot;da5&quot; kind=&quot;close&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103120"></A>      &lt;abstraction xmi:id=&quot;id.39&quot; name=&quot;da5&quot; kind=&quot;close&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103121"></A>    &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103122"></A>    &lt;dataElement xmi:id=&quot;id.40&quot; xmi:type=&quot;data:DataAction&quot; name=&quot;da6&quot; kind=&quot;close&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103123"></A>      &lt;abstraction xmi:id=&quot;id.41&quot; name=&quot;da5&quot; kind=&quot;close&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103124"></A>    &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103125"></A>  &lt;/model&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103126"></A>  &lt;model xmi:id=&quot;id.42&quot; xmi:type=&quot;code:CodeModel&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103127"></A>    &lt;codeElement xmi:id=&quot;id.43&quot; xmi:type=&quot;code:CodeAssembly&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103128"></A>      &lt;codeElement xmi:id=&quot;id.44&quot; xmi:type=&quot;action:ActionElement&quot; name=&quot;a0&quot; kind=&quot;open&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103129"></A>        &lt;source xmi:id=&quot;id.45&quot; language=&quot;Cobol&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1103266"></A>		snippet=&quot;OPEN INPUT SEQUENTIAL-FILE OUTPUT INDEXED-FILE.&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103130"></A>        &lt;actionRelation xmi:id=&quot;id.46&quot; xmi:type=&quot;action:Flow&quot; to=&quot;id.47&quot; from=&quot;id.44&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103131"></A>      &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103132"></A>      &lt;codeElement xmi:id=&quot;id.47&quot; xmi:type=&quot;action:ActionElement&quot; name=&quot;a1&quot; kind=&quot;read&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103133"></A>        &lt;source xmi:id=&quot;id.48&quot; language=&quot;Cobol&quot; snippet=&quot;READ SEQUENTIAL-FILE&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103134"></A>        &lt;actionRelation xmi:id=&quot;id.49&quot; xmi:type=&quot;action:Flow&quot; to=&quot;id.53&quot; from=&quot;id.47&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103135"></A>      &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103136"></A>      &lt;codeElement xmi:id=&quot;id.50&quot; xmi:type=&quot;action:ActionElement&quot; name=&quot;a2&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103137"></A>        &lt;source xmi:id=&quot;id.51&quot; language=&quot;Cobol&quot; snippet=&quot;MOVE 'YES' TO END-OF-FILE-SWITCH&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103138"></A>        &lt;actionRelation xmi:id=&quot;id.52&quot; xmi:type=&quot;action:Flow&quot; to=&quot;id.64&quot; from=&quot;id.50&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103139"></A>      &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103140"></A>      &lt;codeElement xmi:id=&quot;id.53&quot; xmi:type=&quot;action:ActionElement&quot; name=&quot;a3&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103141"></A>        &lt;source xmi:id=&quot;id.54&quot; language=&quot;Cobol&quot; snippet=&quot;MOVE SEQ-SOC-SEC-NUM TO IND-SOC-SEQ-NUM&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103142"></A>        &lt;actionRelation xmi:id=&quot;id.55&quot; xmi:type=&quot;action:Flow&quot; to=&quot;id.56&quot; from=&quot;id.53&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103143"></A>      &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103144"></A>      &lt;codeElement xmi:id=&quot;id.56&quot; xmi:type=&quot;action:ActionElement&quot; name=&quot;a4&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103145"></A>        &lt;source xmi:id=&quot;id.57&quot; language=&quot;Cobol&quot; snippet=&quot;MOVE SEQ-REST-OF-RECORD TO IND-REST-OF-RECORD&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103146"></A>        &lt;actionRelation xmi:id=&quot;id.58&quot; xmi:type=&quot;action:Flow&quot; to=&quot;id.59&quot; from=&quot;id.56&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103147"></A>      &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103148"></A>      &lt;codeElement xmi:id=&quot;id.59&quot; xmi:type=&quot;action:ActionElement&quot; name=&quot;a5&quot; kind=&quot;call&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103149"></A>        &lt;source xmi:id=&quot;id.60&quot; language=&quot;Cobol&quot; snippet=&quot;WRITE INDEXED-RECORD&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103150"></A>        &lt;actionRelation xmi:id=&quot;id.61&quot; xmi:type=&quot;action:Flow&quot; to=&quot;id.64&quot; from=&quot;id.59&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103151"></A>      &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103152"></A>      &lt;codeElement xmi:id=&quot;id.62&quot; xmi:type=&quot;action:ActionElement&quot; name=&quot;a6&quot; kind=&quot;write&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103153"></A>        &lt;source xmi:id=&quot;id.63&quot; language=&quot;Cobol&quot; snippet=&quot;PERFORM 0020-EXPLAIN-WRITE-ERROR&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103154"></A>      &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103155"></A>      &lt;codeElement xmi:id=&quot;id.64&quot; xmi:type=&quot;action:ActionElement&quot; name=&quot;a7&quot; kind=&quot;write&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103156"></A>        &lt;source xmi:id=&quot;id.65&quot; language=&quot;Cobol&quot; snippet=&quot;UNTIL END-OF-FILE-SWITCH = 'YES'&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103157"></A>        &lt;actionRelation xmi:id=&quot;id.66&quot; xmi:type=&quot;action:FalseFlow&quot; to=&quot;id.47&quot; from=&quot;id.64&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103158"></A>        &lt;actionRelation xmi:id=&quot;id.67&quot; xmi:type=&quot;action:TrueFlow&quot; to=&quot;id.68&quot; from=&quot;id.64&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103159"></A>      &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103160"></A>      &lt;codeElement xmi:id=&quot;id.68&quot; xmi:type=&quot;action:ActionElement&quot; name=&quot;a8&quot; kind=&quot;close&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103161"></A>        &lt;source xmi:id=&quot;id.69&quot; language=&quot;Cobol&quot; snippet=&quot;Close SEQUENTIAL-FILE INDEXED-FILE.&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103162"></A>      &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103163"></A>    &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103164"></A>  &lt;/model&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103165"></A>  &lt;model xmi:id=&quot;id.70&quot; xmi:type=&quot;platform:PlatformModel&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103166"></A>    &lt;platformElement xmi:id=&quot;id.71&quot; xmi:type=&quot;platform:DeployedSoftwareSystem&quot; groupedComponent=&quot;id.73&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103167"></A>    &lt;platformElement xmi:id=&quot;id.72&quot; xmi:type=&quot;platform:Machine&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103168"></A>      &lt;deployedComponent xmi:id=&quot;id.73&quot; groupedCode=&quot;id.43&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103169"></A>      &lt;deployedResource xmi:id=&quot;id.74&quot; &gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103170"></A>        &lt;platformElement xmi:id=&quot;id.75&quot; xmi:type=&quot;platform:StreamResource&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103171"></A>          &lt;abstraction xmi:id=&quot;id.76&quot; name=&quot;ra1&quot; kind=&quot;&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103172"></A>            &lt;actionRelation xmi:id=&quot;id.77&quot; xmi:type=&quot;data:HasContent&quot; to=&quot;id.1&quot; from=&quot;id.76&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103173"></A>            &lt;actionRelation xmi:id=&quot;id.78&quot; xmi:type=&quot;event:HasState&quot; to=&quot;id.89&quot; from=&quot;id.76&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103174"></A>          &lt;/abstraction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103175"></A>        &lt;/platformElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103176"></A>        &lt;platformElement xmi:id=&quot;id.79&quot; xmi:type=&quot;platform:FileResource&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103177"></A>          &lt;abstraction xmi:id=&quot;id.80&quot; name=&quot;ra2&quot; kind=&quot;&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103178"></A>            &lt;actionRelation xmi:id=&quot;id.81&quot; xmi:type=&quot;data:HasContent&quot; to=&quot;id.4&quot; from=&quot;id.80&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103179"></A>          &lt;/abstraction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103180"></A>        &lt;/platformElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103181"></A>      &lt;/deployedResource&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103182"></A>    &lt;/platformElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103183"></A>    &lt;platformElement xmi:id=&quot;id.82&quot; xmi:type=&quot;platform:PlatformAction&quot; name=&quot;pa1&quot; kind=&quot;open&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103184"></A>      &lt;abstraction xmi:id=&quot;id.83&quot; name=&quot;pa1&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103185"></A>        &lt;actionRelation xmi:id=&quot;id.84&quot; xmi:type=&quot;platform:ManagesResource&quot; to=&quot;id.75&quot; from=&quot;id.83&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103186"></A>      &lt;/abstraction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103187"></A>    &lt;/platformElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103188"></A>    &lt;platformElement xmi:id=&quot;id.85&quot; xmi:type=&quot;platform:PlatformAction&quot; name=&quot;pa2&quot; kind=&quot;open&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103189"></A>      &lt;abstraction xmi:id=&quot;id.86&quot; name=&quot;pa2&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103190"></A>        &lt;actionRelation xmi:id=&quot;id.87&quot; xmi:type=&quot;platform:ManagesResource&quot; to=&quot;id.79&quot; from=&quot;id.86&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103191"></A>      &lt;/abstraction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103192"></A>    &lt;/platformElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103193"></A>  &lt;/model&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103194"></A>  &lt;model xmi:id=&quot;id.88&quot; xmi:type=&quot;event:EventModel&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103195"></A>    &lt;eventElement xmi:id=&quot;id.89&quot; xmi:type=&quot;event:EventResource&quot; name=&quot;sequential-file&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103196"></A>      &lt;eventElement xmi:id=&quot;id.90&quot; xmi:type=&quot;event:State&quot; name=&quot;closed&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103197"></A>        &lt;eventElement xmi:id=&quot;id.91&quot; xmi:type=&quot;event:Transition&quot; name=&quot;tr1&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103198"></A>          &lt;eventRelation xmi:id=&quot;id.92&quot; xmi:type=&quot;event:ConsumesEvent&quot; to=&quot;id.110&quot; from=&quot;id.91&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103199"></A>          &lt;eventRelation xmi:id=&quot;id.93&quot; xmi:type=&quot;event:NextState&quot; to=&quot;id.103&quot; from=&quot;id.91&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103200"></A>          &lt;eventRelation xmi:id=&quot;id.94&quot; xmi:type=&quot;event:NextState&quot; to=&quot;id.95&quot; from=&quot;id.91&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103201"></A>        &lt;/eventElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103202"></A>      &lt;/eventElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103203"></A>      &lt;eventElement xmi:id=&quot;id.95&quot; xmi:type=&quot;event:State&quot; name=&quot;opened.not at end&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103204"></A>        &lt;eventElement xmi:id=&quot;id.96&quot; xmi:type=&quot;event:Transition&quot; name=&quot;tr2&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103205"></A>          &lt;eventRelation xmi:id=&quot;id.97&quot; xmi:type=&quot;event:ConsumesEvent&quot; to=&quot;id.111&quot; from=&quot;id.96&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103206"></A>          &lt;eventRelation xmi:id=&quot;id.98&quot; xmi:type=&quot;event:NextState&quot; to=&quot;id.103&quot; from=&quot;id.96&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103207"></A>          &lt;eventRelation xmi:id=&quot;id.99&quot; xmi:type=&quot;event:NextState&quot; to=&quot;id.95&quot; from=&quot;id.96&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103208"></A>        &lt;/eventElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103209"></A>        &lt;eventElement xmi:id=&quot;id.100&quot; xmi:type=&quot;event:Transition&quot; name=&quot;tr3&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103210"></A>          &lt;eventRelation xmi:id=&quot;id.101&quot; xmi:type=&quot;event:ConsumesEvent&quot; to=&quot;id.112&quot; from=&quot;id.100&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103211"></A>          &lt;eventRelation xmi:id=&quot;id.102&quot; xmi:type=&quot;event:NextState&quot; to=&quot;id.90&quot; from=&quot;id.100&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103212"></A>        &lt;/eventElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103213"></A>      &lt;/eventElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103214"></A>      &lt;eventElement xmi:id=&quot;id.103&quot; xmi:type=&quot;event:State&quot; name=&quot;opened.at end&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103215"></A>        &lt;eventElement xmi:id=&quot;id.104&quot; xmi:type=&quot;event:Transition&quot; name=&quot;tr4&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103216"></A>          &lt;eventRelation xmi:id=&quot;id.105&quot; xmi:type=&quot;event:ConsumesEvent&quot; to=&quot;id.112&quot; from=&quot;id.104&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103217"></A>          &lt;eventRelation xmi:id=&quot;id.106&quot; xmi:type=&quot;event:NextState&quot; to=&quot;id.90&quot; from=&quot;id.104&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103218"></A>        &lt;/eventElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103219"></A>        &lt;eventElement xmi:id=&quot;id.107&quot; xmi:type=&quot;event:Transition&quot; name=&quot;tr5&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103220"></A>          &lt;eventRelation xmi:id=&quot;id.108&quot; xmi:type=&quot;event:ConsumesEvent&quot; to=&quot;id.111&quot; from=&quot;id.107&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103221"></A>          &lt;eventRelation xmi:id=&quot;id.109&quot; xmi:type=&quot;event:NextState&quot; to=&quot;id.103&quot; from=&quot;id.107&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103222"></A>        &lt;/eventElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103223"></A>      &lt;/eventElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103224"></A>      &lt;eventElement xmi:id=&quot;id.110&quot; xmi:type=&quot;event:Event&quot; name=&quot;open&quot; kind=&quot;open&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103225"></A>      &lt;eventElement xmi:id=&quot;id.111&quot; xmi:type=&quot;event:Event&quot; name=&quot;read&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103226"></A>      &lt;eventElement xmi:id=&quot;id.112&quot; xmi:type=&quot;event:Event&quot; name=&quot;close&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103227"></A>    &lt;/eventElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103228"></A>  &lt;/model&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103229"></A>  &lt;model xmi:id=&quot;id.113&quot; xmi:type=&quot;code:CodeModel&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103230"></A>    &lt;codeElement xmi:id=&quot;id.114&quot; xmi:type=&quot;code:LanguageUnit&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103231"></A>      &lt;codeElement xmi:id=&quot;id.115&quot; xmi:type=&quot;code:StringType&quot; name=&quot;X&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103232"></A>    &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103233"></A>  &lt;/model&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103234"></A>&lt;/kdm:Segment&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1103061"></A>&nbsp;</P>
</DIV>
</DIV>
</DIV>
<DIV>
<H3 CLASS="Heading1">
<A NAME="pgfId-1099893"></A><A NAME="_Toc131848375"></A>KeyIndex Class Diagram</H3>
<P CLASS="Body">
<A NAME="pgfId-1099894"></A>The KeyIndex class diagram collects together classes and associations of the Data package. They provide basic meta-model constructs to define the various data related relationships.</P>
<P CLASS="Body">
<A NAME="pgfId-1099898"></A>The class diagram shown in <A HREF="KDM_1.0_18_datapkg.htm#50749" CLASS="XRef">See - KeyIndex Class Diagram.</A> captures these classes and their relations.</P>
<P CLASS="Body">
<A NAME="pgfId-1099902"></A>&nbsp;</P>
<DIV>
<IMG SRC="KDM_1.0_18_datapkg-5.gif">
</DIV>
<DIV>
<H6 CLASS="FigureCaption-">
<A NAME="pgfId-1099904"></A><A NAME="50749"></A>- KeyIndex Class Diagram</H6>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1099906"></A><A NAME="_Toc131848376"></A>IndexElement Class (generic)</H4>
<P CLASS="Body">
<A NAME="pgfId-1099907"></A>IndexElement class is a generic meta-model element that defines the common properties of the index items and key items of persistent data stores. IndexElement uses the KDM group mechanism. IndexElement is subclassed by concrete classes with more precise semantics. IndexElement is itself a concrete class that can be used as an extended meta-model element with an appropriate stereotype to represent situations that do not fit into the semantics of the subclasses of the IndexElement.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099908"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1099909"></A>DataResource</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099910"></A>Associations</H6>
<P CLASS="Body">
<A NAME="pgfId-1099916"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1099913"></A>implementation : ItemUnit[1] </H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="Body">
<A NAME="pgfId-1099915"></A>The set of ItemUnits that constitute the index</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099917"></A> Constraints:</H6>
<DIV>
<H6 CLASS="List1">
<A NAME="pgfId-1099918"></A>Index owned by a data element should group elements which are owned by that data element</H6>
</DIV>
<DIV>
<H6 CLASS="List1-">
<A NAME="pgfId-1099919"></A>IndexElement should have a stereotype</H6>
</DIV>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099920"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1099921"></A> IndexElement defines a group of data elements that can be used as an endpoint for various data relationships.</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1099923"></A><A NAME="_Toc131848377"></A>UniqueKey Class</H4>
<P CLASS="Body">
<A NAME="pgfId-1099924"></A>A UniqueKey is meta-model element that represents primary keys in relational database table, segments of hierarchical databases or indexed files. UniqueKey is a group of columns.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099925"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1099926"></A>IndexElement</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099927"></A>Constraints</H6>
<DIV>
<H6 CLASS="List1">
<A NAME="pgfId-1099928"></A>UniqueKey owned by a data element should group ItemUnit elements which are owned by that data element</H6>
</DIV>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099929"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1101081"></A>A UniqueKey represents the primary key to a certain table or relational database or certain fields in an indexed file. A primary key is one or more columns whose values uniquely identify every row in a table or every record in an indexed file. Normally an index always exists on the primary key.</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1099931"></A><A NAME="_Toc131848378"></A>ReferenceKey Class</H4>
<P CLASS="Body">
<A NAME="pgfId-1099932"></A>A ReferenceKey is meta-model element that represents foreign key in databases or indexed files. ReferenceKey is a group of columns.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099933"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1099934"></A>IndexElement</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099935"></A>Constraints</H6>
<DIV>
<H6 CLASS="List1">
<A NAME="pgfId-1101117"></A>ReferenceKey owned by a data element should group ItemUnit elements which are owned by that data element</H6>
</DIV>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099936"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1101096"></A>A foreign key is the primary key of one data structure that is placed into a related data structure to represent a relationship among those structures. Foreign keys resolve relationships, and support navigation among data structures. ReferenceKey is a group of one or more columns in a relational database table or segment of a hierarchical database or an indexed file that implements a many-to-one relationship that the table, segment or file in question has with another table, segment or file or with itself.</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1101063"></A>Index Class</H4>
<P CLASS="Body">
<A NAME="pgfId-1101064"></A>An Index class is a meta-model element that represents an index to a relational or hierarchical database or an indexed file.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1101065"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1101066"></A>IndexElement</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1101067"></A>Constraints</H6>
<DIV>
<H6 CLASS="List1">
<A NAME="pgfId-1101068"></A>Index owned by a data element should group ItemUnit elements which are owned by that data element</H6>
</DIV>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1101069"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1099937"></A>Index is a mechanism to locate and access data within a database. An index may quote one or more columns and be a means of enforcing uniqueness on their values.</P>
</DIV>
</DIV>
</DIV>
<DIV>
<H3 CLASS="Heading1">
<A NAME="pgfId-1099941"></A><A NAME="_Toc119735868"></A><A NAME="_Toc119728814"></A><A NAME="_Toc131848404"></A>Key Relations class diagram</H3>
<P CLASS="Body">
<A NAME="pgfId-1099945"></A><A HREF="KDM_1.0_18_datapkg.htm#36070" CLASS="XRef">See - KeyRelations Class Diagram.</A> depicts the key relations within the Data Package. A Key is a way to access data without reading through an entire data structure sequentially. </P>
<P CLASS="Body">
<A NAME="pgfId-1099949"></A>&nbsp;</P>
<DIV>
<IMG SRC="KDM_1.0_18_datapkg-6.gif">
</DIV>
<DIV>
<H6 CLASS="FigureCaption-">
<A NAME="pgfId-1099951"></A><A NAME="36070"></A>- KeyRelations Class Diagram</H6>
<P CLASS="Body">
<A NAME="pgfId-1099952"></A>A KeyRelation class associates a ReferenceKey in one data container, with a UniqueKey in another container which means that there is one and only one key value for that data. </P>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1099954"></A><A NAME="_Toc131848407"></A>KeyRelationship Class</H4>
<P CLASS="Body">
<A NAME="pgfId-1099955"></A>A KeyRelationship is a meta-model element that represents an association between a ReferenceKey with the corresponding UniqueKey. </P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099956"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1099957"></A>AbstractDataRelationship</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099958"></A>Associations</H6>
<P CLASS="Body">
<A NAME="pgfId-1099968"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1099961"></A>from : ReferenceKey[1] </H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="Body">
<A NAME="pgfId-1099963"></A>foreign key in a certain table, segment or file</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1099965"></A>to: UniqueKey[1] </H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="Body">
<A NAME="pgfId-1099967"></A>primary key is a certain table, segment or key</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099969"></A>Constraints</H6>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099970"></A>Semantics</H6>
<P CLASS="Body">
<A NAME="pgfId-1099971"></A>ReferenceKey is a group of one or more columns in a relational database table or segment of a hierarchical database or an indexed file that implements a many-to-one relationship that the table, segment or file in question has with another table, segment or file or with itself.</P>
</DIV>
</DIV>
</DIV>
<DIV>
<H3 CLASS="Heading1">
<A NAME="pgfId-1099972"></A>DataActions class diagram</H3>
<P CLASS="Body">
<A NAME="pgfId-1099976"></A>DataAction class diagram defines a set of meta-model elements whose purpose is to represent semantic associations between the elements of data models, as well as associations between data models and other KDM models. <A HREF="KDM_1.0_18_datapkg.htm#22737" CLASS="XRef">See - DataActions Class Diagram.</A> depicts the key classes and association of the DataAction diagram. Data actions follow the common pattern of &quot;resource actions&quot;. Each data action is a &quot;projection&quot; of one or more action elements of the Code Model that use some API to the runtime platform to manage data resources. Each data action is linked back to the corresponding action elements from one or more code models through the &quot;implementation&quot; association. Each data action may own one or more &quot;abstracted&quot; actions, which are used to model detailed resource related semantics.</P>
<P CLASS="Body">
<A NAME="pgfId-1099980"></A>&nbsp;</P>
<DIV>
<IMG SRC="KDM_1.0_18_datapkg-7.gif">
</DIV>
<DIV>
<H6 CLASS="FigureCaption-">
<A NAME="pgfId-1099982"></A><A NAME="22737"></A>- DataActions Class Diagram</H6>
<P CLASS="Body">
<A NAME="pgfId-1099983"></A>&nbsp;</P>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1099985"></A>ReadsColumnSet class</H4>
<P CLASS="Body">
<A NAME="pgfId-1099986"></A>ReadsColumnSet class follows the pattern of a &quot;resource action relationship&quot;. It represents various types of accesses to data resources where there is a flow of data from the resource. ReadsColumnSet relationship is similar to Reads relationship from Action Package. The nature of the operation on the resource is represented by the &quot;kind&quot; attribute of the DataAction that owns this relationship through the &quot;abstracted&quot; action container property.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099987"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1099988"></A>Action::AbstractActionRelationship</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099989"></A>Associations:</H6>
<P CLASS="Body">
<A NAME="pgfId-1099999"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1099992"></A>from:ActionElement[1]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<A NAME="pgfId-1099994"></A>&quot;abstracted&quot; action owned by some resource</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1099996"></A>to:ColumnSet[1]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<A NAME="pgfId-1099998"></A>the data resource being accessed</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1100000"></A>Constraints:</H6>
<DIV>
<H6 CLASS="List1">
<A NAME="pgfId-1100001"></A>This relationship should not be used in Code models</H6>
</DIV>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1101186"></A>Semantics</H6>
<P CLASS="Body">
<A NAME="pgfId-1100002"></A>ReadsColumnSet represents a data flow from a certain ColumnSet element to a data action.</P>
<P CLASS="Body">
<A NAME="pgfId-1101197"></A>&nbsp;</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1100003"></A>WritesColumnSet class</H4>
<P CLASS="Body">
<A NAME="pgfId-1100004"></A>WritesColumnSet class follows the pattern of a &quot;resource action relationship&quot;. It represents various types of accesses to user interface resources where there is a flow of data to the resource. WritesColumnSet relationship is similar to Writes relationship from Action Package. The nature of the operation on the resource is represented by the &quot;kind&quot; attribute of the DataAction that owns this relationship through the &quot;abstracted&quot; action container property.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1100005"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1100006"></A>Action::AbstractActionRelationship</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1100007"></A>Associations:</H6>
<P CLASS="Body">
<A NAME="pgfId-1100017"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1100010"></A>from:ActionElement[1]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<A NAME="pgfId-1100012"></A>&quot;abstracted&quot; action owned by some resource</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1100014"></A>to:ColumnSet[1]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<A NAME="pgfId-1100016"></A>the data resource being accessed</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1100018"></A>Constraints:</H6>
<DIV>
<H6 CLASS="List1">
<A NAME="pgfId-1100019"></A>This relationship should not be used in Code models</H6>
</DIV>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1101199"></A>Semantics</H6>
<P CLASS="Body">
<A NAME="pgfId-1101200"></A>WritesColumnSet represents a data flow from a data action to a certain ColumnSet element.</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1103271"></A>ManagesData class</H4>
<P CLASS="Body">
<A NAME="pgfId-1103272"></A>Manages class follows the pattern of a &quot;resource action relationship&quot;. It represents various types of accesses to user interface resources where there is no flow of data to or from the resource. ManagesData relationship is similar to Addresses relationship from Action Package. The nature of the operation on the resource is represented by the &quot;kind&quot; attribute of the DataAction that owns this relationship through the &quot;abstracted&quot; action container property.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1103273"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1103274"></A>Action::AbstractActionRelationship</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1103275"></A>Associations:</H6>
<P CLASS="Body">
<A NAME="pgfId-1103285"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1103278"></A>from:ActionElement[1]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<A NAME="pgfId-1103280"></A>&quot;abstracted&quot; action owned by some resource</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1103282"></A>to:AbstractDataElement[1]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<A NAME="pgfId-1103284"></A>the data resource being accessed</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1103286"></A>Constraints:</H6>
<DIV>
<H6 CLASS="List1">
<A NAME="pgfId-1103287"></A>This relationship should not be used in Code models</H6>
</DIV>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1103288"></A>Semantics</H6>
<P CLASS="Body">
<A NAME="pgfId-1103289"></A>Manages represents a certain change of state to a certain AbstractDataElement.</P>
<P CLASS="Body">
<A NAME="pgfId-1100020"></A>&nbsp;</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1100021"></A>HasContent class</H4>
<P CLASS="Body">
<A NAME="pgfId-1100022"></A>HasContent class follows the pattern of a &quot;resource action relationship&quot;. HasContent is a structural relationship. It does not represent resource manipulations. HasContent relationship uses the &quot;abstracted&quot; action container mechanism to provide certain capabilities to other Resource Layer packages. &quot;HasContent&quot; relationship makes it possible to associate an element of a data model with any resource. </P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1100023"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1100024"></A>Action::AbstractActionRelationship</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1100025"></A>Associations:</H6>
<P CLASS="Body">
<A NAME="pgfId-1100035"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1100028"></A>from:ActionElement[1]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<A NAME="pgfId-1100030"></A>&quot;abstracted&quot; action owned by some resource</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1100032"></A>to:AbstractDataElement[1]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<A NAME="pgfId-1100034"></A>the data resource being accessed</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1100036"></A>Constraints:</H6>
<DIV>
<H6 CLASS="List1">
<A NAME="pgfId-1101215"></A>This relationship should not be used in Code models</H6>
</DIV>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1101221"></A>Semantics</H6>
<P CLASS="Body">
<A NAME="pgfId-1101222"></A>HasContent represents an association between any KDM resource or behavior abstraction element (through the &quot;abstracted&quot; action mechanism) and the data element, describing the data organization related to this element.</P>
<P CLASS="Body">
<A NAME="pgfId-1101216"></A>&nbsp;</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1101232"></A>Example (Java, embedded SQL, JDBC):</H6>
<P CLASS="example">
<A NAME="pgfId-1100403"></A>CREATE TABLE products (ID int primary key, name varchar, type varchar)</P>
<P CLASS="example">
<A NAME="pgfId-1100404"></A>CREATE TABLE contracts (ID int primary key, product int, revenue decimal, dateSigned date)</P>
<P CLASS="example">
<A NAME="pgfId-1100415"></A>&nbsp;</P>
<P CLASS="example">
<A NAME="pgfId-1100416"></A>final String findContractStatement=</P>
<P CLASS="example">
<A NAME="pgfId-1100417"></A>	  &quot;SELECT * FROM contracts c, products p&quot; +</P>
<P CLASS="example">
<A NAME="pgfId-1100418"></A>	  &quot;WHERE ID = ? AND c.product = p.ID &quot;;</P>
<P CLASS="example">
<A NAME="pgfId-1100419"></A>&nbsp;</P>
<P CLASS="example">
<A NAME="pgfId-1100428"></A>public void calculateRecognitions( long contractID ) {</P>
<P CLASS="example">
<A NAME="pgfId-1100429"></A>	Connection db=DriverManager.getConnection(&quot;jdbc:odbc:foobar&quot;,&quot;sunny&quot;,&quot;&quot;);</P>
<P CLASS="example">
<A NAME="pgfId-1100430"></A>	PreparedStatement stmt=db.prepareStatement(findContractStatement);</P>
<P CLASS="example">
<A NAME="pgfId-1100431"></A>	stmt.setLong(1,contractID);</P>
<P CLASS="example">
<A NAME="pgfId-1100432"></A>	ResultSet contracts=stmt.executeQuery();</P>
<P CLASS="example">
<A NAME="pgfId-1100433"></A>	contracts.next();</P>
<P CLASS="example">
<A NAME="pgfId-1100434"></A>	Money totalRevenue=Money.dollars(contracts.getBigDecimal(&quot;revenue&quot;));</P>
<P CLASS="example">
<A NAME="pgfId-1100435"></A>	MfDate recognitionDate=new MfDate(contracts.getDate(&quot;dateSigned&quot;));</P>
<P CLASS="example">
<A NAME="pgfId-1100444"></A>	}</P>
<P CLASS="example">
<A NAME="pgfId-1100462"></A>&nbsp;</P>
<P CLASS="example">
<A NAME="pgfId-1100465"></A>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100466"></A>&lt;kdm:Segment xmi:version=&quot;2.1&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1100734"></A>	xmlns:xmi=&quot;http://www.omg.org/XMI&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1100735"></A>	xmlns:action=&quot;http://kdm.omg.org/action&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1100736"></A>	xmlns:code=&quot;http://kdm.omg.org/code&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1100737"></A>	xmlns:data=&quot;http://kdm.omg.org/data&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1100738"></A>	xmlns:kdm=&quot;http://kdm.omg.org/kdm&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1100739"></A>	xmlns:platform=&quot;http://kdm.omg.org/platform&quot; name=&quot;Data Example&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100467"></A>  &lt;model xmi:id=&quot;id.0&quot; xmi:type=&quot;data:DataModel&quot; name=&quot;Contracts&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100468"></A>    &lt;dataElement xmi:id=&quot;id.1&quot; xmi:type=&quot;data:RelationalSchema&quot; name=&quot;Contracts&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100469"></A>      &lt;dataElement xmi:id=&quot;id.2&quot; xmi:type=&quot;data:RelationalTable&quot; name=&quot;products&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100470"></A>        &lt;dataElement xmi:id=&quot;id.3&quot; xmi:type=&quot;data:UniqueKey&quot; name=&quot;ID&quot; implementation=&quot;id.4&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100471"></A>        &lt;itemUnit xmi:id=&quot;id.4&quot; name=&quot;ID&quot; type=&quot;id.172&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100472"></A>        &lt;itemUnit xmi:id=&quot;id.5&quot; name=&quot;name&quot; type=&quot;id.173&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100473"></A>        &lt;itemUnit xmi:id=&quot;id.6&quot; name=&quot;type&quot; type=&quot;id.173&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100474"></A>      &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100475"></A>      &lt;dataElement xmi:id=&quot;id.7&quot; xmi:type=&quot;data:RelationalTable&quot; name=&quot;contracts&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100476"></A>        &lt;dataElement xmi:id=&quot;id.8&quot; xmi:type=&quot;data:UniqueKey&quot; name=&quot;ID&quot; implementation=&quot;id.11&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100477"></A>        &lt;dataElement xmi:id=&quot;id.9&quot; xmi:type=&quot;data:ReferenceKey&quot; implementation=&quot;id.12&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100478"></A>          &lt;dataRelation xmi:id=&quot;id.10&quot; xmi:type=&quot;data:KeyRelation&quot; to=&quot;id.3&quot; from=&quot;id.9&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100479"></A>        &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100480"></A>        &lt;itemUnit xmi:id=&quot;id.11&quot; name=&quot;ID&quot; type=&quot;id.172&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100481"></A>        &lt;itemUnit xmi:id=&quot;id.12&quot; name=&quot;product&quot; type=&quot;id.172&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100482"></A>        &lt;itemUnit xmi:id=&quot;id.13&quot; name=&quot;revenue&quot; type=&quot;id.174&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100483"></A>        &lt;itemUnit xmi:id=&quot;id.14&quot; name=&quot;dateSigned&quot; type=&quot;id.175&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100484"></A>      &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100485"></A>    &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100486"></A>    &lt;dataElement xmi:id=&quot;id.15&quot; xmi:type=&quot;data:DataAction&quot; name=&quot;d1&quot; kind=&quot;Connect&quot;</P>
<P CLASS="example">
<A NAME="pgfId-1100740"></A>		 implementation=&quot;id.79&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100487"></A>      &lt;abstraction xmi:id=&quot;id.16&quot; name=&quot;da1&quot; kind=&quot;Connect&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100488"></A>        &lt;actionRelation xmi:id=&quot;id.17&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.80&quot; from=&quot;id.16&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100489"></A>        &lt;actionRelation xmi:id=&quot;id.18&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.81&quot; from=&quot;id.16&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100490"></A>        &lt;actionRelation xmi:id=&quot;id.19&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.82&quot; from=&quot;id.16&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100491"></A>        &lt;actionRelation xmi:id=&quot;id.20&quot; xmi:type=&quot;platform:ManagesResource&quot; to=&quot;id.67&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100492"></A>      &lt;/abstraction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100493"></A>    &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100494"></A>    &lt;dataElement xmi:id=&quot;id.21&quot; xmi:type=&quot;data:DataAction&quot; name=&quot;d2&quot; kind=&quot;Select&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1100741"></A>		implementation=&quot;id.90 id.96 id.104&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100495"></A>      &lt;source xmi:id=&quot;id.22&quot; language=&quot;sql&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1100742"></A>	snippet=&quot;&amp;quot;select * from contracts c, products p where ID = ? and c.product=p.ID  &amp;quot;&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100496"></A>      &lt;abstraction xmi:id=&quot;id.23&quot; name=&quot;w1&quot; kind=&quot;Equal&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100497"></A>        &lt;codeElement xmi:id=&quot;id.24&quot; xmi:type=&quot;code:StorableUnit&quot; name=&quot;t1&quot; type=&quot;id.176&quot; kind=&quot;register&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100498"></A>        &lt;actionRelation xmi:id=&quot;id.25&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.11&quot; from=&quot;id.23&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100499"></A>        &lt;actionRelation xmi:id=&quot;id.26&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.77&quot; from=&quot;id.23&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100500"></A>        &lt;actionRelation xmi:id=&quot;id.27&quot; xmi:type=&quot;action:Writes&quot; to=&quot;id.24&quot; from=&quot;id.23&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100501"></A>        &lt;actionRelation xmi:id=&quot;id.28&quot; xmi:type=&quot;action:Flow&quot; to=&quot;id.29&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100502"></A>      &lt;/abstraction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100503"></A>      &lt;abstraction xmi:id=&quot;id.29&quot; name=&quot;w2&quot; kind=&quot;Equal&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100504"></A>        &lt;codeElement xmi:id=&quot;id.30&quot; xmi:type=&quot;code:StorableUnit&quot; name=&quot;t2&quot; type=&quot;id.176&quot; kind=&quot;register&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100505"></A>        &lt;actionRelation xmi:id=&quot;id.31&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.12&quot; from=&quot;id.29&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100506"></A>        &lt;actionRelation xmi:id=&quot;id.32&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.4&quot; from=&quot;id.29&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100507"></A>        &lt;actionRelation xmi:id=&quot;id.33&quot; xmi:type=&quot;action:Writes&quot; from=&quot;id.29&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100508"></A>        &lt;actionRelation xmi:id=&quot;id.34&quot; xmi:type=&quot;action:Flow&quot; to=&quot;id.35&quot; from=&quot;id.29&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100509"></A>      &lt;/abstraction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100510"></A>      &lt;abstraction xmi:id=&quot;id.35&quot; name=&quot;w3&quot; kind=&quot;And&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100511"></A>        &lt;codeElement xmi:id=&quot;id.36&quot; xmi:type=&quot;code:StorableUnit&quot; name=&quot;t3&quot; type=&quot;id.176&quot; kind=&quot;register&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100512"></A>        &lt;actionRelation xmi:id=&quot;id.37&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.24&quot; from=&quot;id.35&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100513"></A>        &lt;actionRelation xmi:id=&quot;id.38&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.30&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100514"></A>        &lt;actionRelation xmi:id=&quot;id.39&quot; xmi:type=&quot;action:Flow&quot; to=&quot;id.40&quot; from=&quot;id.35&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100515"></A>      &lt;/abstraction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100516"></A>      &lt;abstraction xmi:id=&quot;id.40&quot; name=&quot;w4&quot; kind=&quot;Condition&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100517"></A>        &lt;actionRelation xmi:id=&quot;id.41&quot; xmi:type=&quot;action:TrueFlow&quot; to=&quot;id.42&quot; from=&quot;id.40&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100518"></A>      &lt;/abstraction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100519"></A>      &lt;abstraction xmi:id=&quot;id.42&quot; name=&quot;s1&quot; kind=&quot;Select&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100520"></A>        &lt;actionRelation xmi:id=&quot;id.43&quot; xmi:type=&quot;data:ReadsColumnSet&quot; to=&quot;id.7&quot; from=&quot;id.42&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100521"></A>        &lt;actionRelation xmi:id=&quot;id.44&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.11&quot; from=&quot;id.42&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100522"></A>        &lt;actionRelation xmi:id=&quot;id.45&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.12&quot; from=&quot;id.42&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100523"></A>        &lt;actionRelation xmi:id=&quot;id.46&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.13&quot; from=&quot;id.42&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100524"></A>        &lt;actionRelation xmi:id=&quot;id.47&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.14&quot; from=&quot;id.42&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100525"></A>        &lt;actionRelation xmi:id=&quot;id.48&quot; xmi:type=&quot;data:ReadsColumnSet&quot; to=&quot;id.2&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100526"></A>        &lt;actionRelation xmi:id=&quot;id.49&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.4&quot; from=&quot;id.42&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100527"></A>        &lt;actionRelation xmi:id=&quot;id.50&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.5&quot; from=&quot;id.42&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100528"></A>        &lt;actionRelation xmi:id=&quot;id.51&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.6&quot; from=&quot;id.42&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100529"></A>        &lt;actionRelation xmi:id=&quot;id.52&quot; xmi:type=&quot;action:Writes&quot; to=&quot;id.103&quot; from=&quot;id.42&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100530"></A>        &lt;actionRelation xmi:id=&quot;id.53&quot; xmi:type=&quot;platform:ReadsResource&quot; to=&quot;id.67&quot; from=&quot;id.42&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100531"></A>      &lt;/abstraction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100532"></A>    &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100533"></A>    &lt;dataElement xmi:id=&quot;id.54&quot; xmi:type=&quot;data:DataAction&quot; name=&quot;d3&quot; kind=&quot;Retrieve&quot;</P>
<P CLASS="example">
<A NAME="pgfId-1100743"></A>	 implementation=&quot;id.115&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100534"></A>      &lt;abstraction xmi:id=&quot;id.55&quot; name=&quot;da2&quot; kind=&quot;Assign&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100535"></A>        &lt;actionRelation xmi:id=&quot;id.56&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.13&quot; from=&quot;id.55&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100536"></A>        &lt;actionRelation xmi:id=&quot;id.57&quot; xmi:type=&quot;action:Addresses&quot; to=&quot;id.103&quot; from=&quot;id.55&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100537"></A>        &lt;actionRelation xmi:id=&quot;id.58&quot; xmi:type=&quot;action:Writes&quot; to=&quot;id.117&quot; from=&quot;id.55&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100538"></A>      &lt;/abstraction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100539"></A>    &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100540"></A>    &lt;dataElement xmi:id=&quot;id.59&quot; xmi:type=&quot;data:DataAction&quot; name=&quot;d4&quot; kind=&quot;Retrieve&quot;</P>
<P CLASS="example">
<A NAME="pgfId-1100744"></A>	 implementation=&quot;id.130&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100541"></A>      &lt;abstraction xmi:id=&quot;id.60&quot; name=&quot;da3&quot; kind=&quot;Assign&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100542"></A>        &lt;actionRelation xmi:id=&quot;id.61&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.14&quot; from=&quot;id.60&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100543"></A>        &lt;actionRelation xmi:id=&quot;id.62&quot; xmi:type=&quot;action:Addresses&quot; to=&quot;id.103&quot; from=&quot;id.60&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100544"></A>        &lt;actionRelation xmi:id=&quot;id.63&quot; xmi:type=&quot;action:Writes&quot; to=&quot;id.132&quot; from=&quot;id.60&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100545"></A>      &lt;/abstraction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100546"></A>    &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100547"></A>  &lt;/model&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100548"></A>  &lt;model xmi:id=&quot;id.64&quot; xmi:type=&quot;platform:PlatformModel&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100549"></A>    &lt;platformElement xmi:id=&quot;id.65&quot; xmi:type=&quot;platform:Machine&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100550"></A>      &lt;resource xmi:id=&quot;id.66&quot; &gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100551"></A>        &lt;resource xmi:id=&quot;id.67&quot; xmi:type=&quot;platform:DataManager&quot; name=&quot;foobar&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100552"></A>          &lt;abstraction xmi:id=&quot;id.68&quot; name=&quot;dm1&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100553"></A>            &lt;actionRelation xmi:id=&quot;id.69&quot; xmi:type=&quot;data:HasContent&quot; to=&quot;id.1&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100554"></A>          &lt;/abstraction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100555"></A>        &lt;/resource&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100556"></A>      &lt;/resource&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100557"></A>    &lt;/platformElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100558"></A>  &lt;/model&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100559"></A>  &lt;model xmi:id=&quot;id.70&quot; xmi:type=&quot;code:CodeModel&quot; name=&quot;Application&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100560"></A>    &lt;codeElement xmi:id=&quot;id.71&quot; xmi:type=&quot;code:ClassUnit&quot; name=&quot;DataExample&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100561"></A>      &lt;codeElement xmi:id=&quot;id.72&quot; xmi:type=&quot;code:MemberUnit&quot; name=&quot;findContractStatement&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100562"></A>        &lt;codeRelation xmi:id=&quot;id.73&quot; xmi:type=&quot;code:HasValue&quot; to=&quot;id.145&quot; from=&quot;id.72&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100563"></A>      &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100564"></A>      &lt;codeElement xmi:id=&quot;id.74&quot; xmi:type=&quot;code:MethodUnit&quot; name=&quot;calculateRecognitions&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100565"></A>        &lt;entryFlow xmi:id=&quot;id.75&quot; to=&quot;id.79&quot; from=&quot;id.74&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100566"></A>        &lt;codeElement xmi:id=&quot;id.76&quot; xmi:type=&quot;code:Signature&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100567"></A>          &lt;parameterUnit xmi:id=&quot;id.77&quot; name=&quot;contractNumber&quot; type=&quot;id.179&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100568"></A>        &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100569"></A>        &lt;codeElement xmi:id=&quot;id.78&quot; xmi:type=&quot;code:StorableUnit&quot; name=&quot;db&quot; type=&quot;id.155&quot; kind=&quot;local&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100570"></A>        &lt;codeElement xmi:id=&quot;id.79&quot; xmi:type=&quot;action:ActionElement&quot; name=&quot;c1&quot; kind=&quot;Call&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100571"></A>          &lt;codeElement xmi:id=&quot;id.80&quot; xmi:type=&quot;code:Value&quot; name=&quot;&amp;quot;jdbc:odbc:foobar&amp;quot;&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100572"></A>          &lt;codeElement xmi:id=&quot;id.81&quot; xmi:type=&quot;code:Value&quot; name=&quot;&amp;quot;sunny&amp;quot;&quot; type=&quot;id.178&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100573"></A>          &lt;codeElement xmi:id=&quot;id.82&quot; xmi:type=&quot;code:Value&quot; name=&quot;&amp;quot;&amp;quot;&quot; type=&quot;id.178&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100574"></A>          &lt;actionRelation xmi:id=&quot;id.83&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.80&quot; from=&quot;id.79&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100575"></A>          &lt;actionRelation xmi:id=&quot;id.84&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.81&quot; from=&quot;id.79&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100576"></A>          &lt;actionRelation xmi:id=&quot;id.85&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.82&quot; from=&quot;id.79&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100577"></A>          &lt;actionRelation xmi:id=&quot;id.86&quot; xmi:type=&quot;action:Calls&quot; to=&quot;id.154&quot; from=&quot;id.79&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100578"></A>          &lt;actionRelation xmi:id=&quot;id.87&quot; xmi:type=&quot;action:Writes&quot; to=&quot;id.78&quot; from=&quot;id.79&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100579"></A>          &lt;actionRelation xmi:id=&quot;id.88&quot; xmi:type=&quot;action:Flow&quot; to=&quot;id.90&quot; from=&quot;id.79&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100580"></A>        &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100581"></A>        &lt;codeElement xmi:id=&quot;id.89&quot; xmi:type=&quot;code:StorableUnit&quot; name=&quot;stmt&quot; type=&quot;id.161&quot; kind=&quot;local&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100582"></A>        &lt;codeElement xmi:id=&quot;id.90&quot; xmi:type=&quot;action:ActionElement&quot; name=&quot;c2&quot; kind=&quot;MethodCall&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100583"></A>          &lt;actionRelation xmi:id=&quot;id.91&quot; xmi:type=&quot;action:Addresses&quot; to=&quot;id.78&quot; from=&quot;id.90&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100584"></A>          &lt;actionRelation xmi:id=&quot;id.92&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.72&quot; from=&quot;id.90&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100585"></A>          &lt;actionRelation xmi:id=&quot;id.93&quot; xmi:type=&quot;action:Calls&quot; to=&quot;id.156&quot; from=&quot;id.90&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100586"></A>          &lt;actionRelation xmi:id=&quot;id.94&quot; xmi:type=&quot;action:Writes&quot; to=&quot;id.89&quot; from=&quot;id.90&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100587"></A>          &lt;actionRelation xmi:id=&quot;id.95&quot; xmi:type=&quot;action:Flow&quot; to=&quot;id.96&quot; from=&quot;id.90&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100588"></A>        &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100589"></A>        &lt;codeElement xmi:id=&quot;id.96&quot; xmi:type=&quot;action:ActionElement&quot; name=&quot;c3&quot; kind=&quot;MethodCall&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100590"></A>          &lt;codeElement xmi:id=&quot;id.97&quot; xmi:type=&quot;code:Value&quot; name=&quot;1&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100591"></A>          &lt;actionRelation xmi:id=&quot;id.98&quot; xmi:type=&quot;action:Addresses&quot; to=&quot;id.89&quot; from=&quot;id.96&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100592"></A>          &lt;actionRelation xmi:id=&quot;id.99&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.97&quot; from=&quot;id.96&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100593"></A>          &lt;actionRelation xmi:id=&quot;id.100&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.77&quot; from=&quot;id.96&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100594"></A>          &lt;actionRelation xmi:id=&quot;id.101&quot; xmi:type=&quot;action:Calls&quot; to=&quot;id.162&quot; from=&quot;id.96&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100595"></A>          &lt;actionRelation xmi:id=&quot;id.102&quot; xmi:type=&quot;action:Flow&quot; to=&quot;id.104&quot; from=&quot;id.96&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100596"></A>        &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100597"></A>        &lt;codeElement xmi:id=&quot;id.103&quot; xmi:type=&quot;code:StorableUnit&quot; name=&quot;contracts&quot; type=&quot;id.157&quot;</P>
<P CLASS="example">
<A NAME="pgfId-1100745"></A>				 kind=&quot;local&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100598"></A>        &lt;codeElement xmi:id=&quot;id.104&quot; xmi:type=&quot;action:ActionElement&quot; name=&quot;c4&quot; kind=&quot;MethodCall&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100599"></A>          &lt;actionRelation xmi:id=&quot;id.105&quot; xmi:type=&quot;action:Addresses&quot; to=&quot;id.89&quot; from=&quot;id.104&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100600"></A>          &lt;actionRelation xmi:id=&quot;id.106&quot; xmi:type=&quot;action:Calls&quot; to=&quot;id.163&quot; from=&quot;id.104&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100601"></A>          &lt;actionRelation xmi:id=&quot;id.107&quot; xmi:type=&quot;action:Writes&quot; to=&quot;id.103&quot; from=&quot;id.104&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100602"></A>          &lt;actionRelation xmi:id=&quot;id.108&quot; xmi:type=&quot;action:Flow&quot; to=&quot;id.109&quot; from=&quot;id.104&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100603"></A>        &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100604"></A>        &lt;codeElement xmi:id=&quot;id.109&quot; xmi:type=&quot;action:ActionElement&quot; name=&quot;c5&quot; kind=&quot;MethodCall&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100605"></A>          &lt;actionRelation xmi:id=&quot;id.110&quot; xmi:type=&quot;action:Addresses&quot; to=&quot;id.103&quot; from=&quot;id.109&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100606"></A>          &lt;actionRelation xmi:id=&quot;id.111&quot; xmi:type=&quot;action:Calls&quot; to=&quot;id.158&quot; from=&quot;id.109&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100607"></A>          &lt;actionRelation xmi:id=&quot;id.112&quot; xmi:type=&quot;action:Flow&quot; to=&quot;id.114&quot; from=&quot;id.109&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100608"></A>        &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100609"></A>        &lt;codeElement xmi:id=&quot;id.113&quot; xmi:type=&quot;code:StorableUnit&quot; name=&quot;totalRevenue&quot; type=&quot;id.165&quot;</P>
<P CLASS="example">
<A NAME="pgfId-1100746"></A>				 kind=&quot;local&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100610"></A>        &lt;codeElement xmi:id=&quot;id.114&quot; xmi:type=&quot;action:ActionElement&quot; name=&quot;c6&quot; kind=&quot;Compound&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100611"></A>          &lt;codeElement xmi:id=&quot;id.115&quot; xmi:type=&quot;action:ActionElement&quot; name=&quot;c6.1&quot; kind=&quot;Call&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100612"></A>            &lt;codeElement xmi:id=&quot;id.116&quot; xmi:type=&quot;code:Value&quot; name=&quot;&amp;quot;revenue&amp;quot;&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100613"></A>            &lt;codeElement xmi:id=&quot;id.117&quot; xmi:type=&quot;code:StorableUnit&quot; name=&quot;t4&quot; kind=&quot;register&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100614"></A>            &lt;actionRelation xmi:id=&quot;id.118&quot; xmi:type=&quot;action:Addresses&quot; to=&quot;id.103&quot; from=&quot;id.115&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100615"></A>            &lt;actionRelation xmi:id=&quot;id.119&quot; xmi:type=&quot;action:Calls&quot; to=&quot;id.159&quot; from=&quot;id.115&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100616"></A>            &lt;actionRelation xmi:id=&quot;id.120&quot; xmi:type=&quot;action:Writes&quot; to=&quot;id.117&quot; from=&quot;id.115&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100617"></A>            &lt;actionRelation xmi:id=&quot;id.121&quot; xmi:type=&quot;action:Flow&quot; to=&quot;id.122&quot; from=&quot;id.115&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100618"></A>          &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100619"></A>          &lt;codeElement xmi:id=&quot;id.122&quot; xmi:type=&quot;action:ActionElement&quot; name=&quot;c6.2&quot; kind=&quot;Call&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100620"></A>            &lt;actionRelation xmi:id=&quot;id.123&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.117&quot; from=&quot;id.122&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100621"></A>            &lt;actionRelation xmi:id=&quot;id.124&quot; xmi:type=&quot;action:Calls&quot; to=&quot;id.166&quot; from=&quot;id.122&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100622"></A>            &lt;actionRelation xmi:id=&quot;id.125&quot; xmi:type=&quot;action:Writes&quot; to=&quot;id.113&quot; from=&quot;id.122&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100623"></A>            &lt;actionRelation xmi:id=&quot;id.126&quot; xmi:type=&quot;action:Flow&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100624"></A>          &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100625"></A>          &lt;actionRelation xmi:id=&quot;id.127&quot; xmi:type=&quot;action:Flow&quot; to=&quot;id.115&quot; from=&quot;id.114&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100626"></A>        &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100627"></A>        &lt;codeElement xmi:id=&quot;id.128&quot; xmi:type=&quot;code:StorableUnit&quot; name=&quot;recognizedDate&quot; type=&quot;id.168&quot;</P>
<P CLASS="example">
<A NAME="pgfId-1100747"></A>				 kind=&quot;local&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100628"></A>        &lt;codeElement xmi:id=&quot;id.129&quot; xmi:type=&quot;action:ActionElement&quot; name=&quot;c7&quot; kind=&quot;MethodCall&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100629"></A>          &lt;codeElement xmi:id=&quot;id.130&quot; xmi:type=&quot;action:ActionElement&quot; name=&quot;c7.1&quot; kind=&quot;Call&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100630"></A>            &lt;codeElement xmi:id=&quot;id.131&quot; xmi:type=&quot;code:Value&quot; name=&quot;&amp;quot;dateSigned&amp;quot;&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100631"></A>            &lt;codeElement xmi:id=&quot;id.132&quot; xmi:type=&quot;code:StorableUnit&quot; name=&quot;t5&quot; kind=&quot;register&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100632"></A>            &lt;actionRelation xmi:id=&quot;id.133&quot; xmi:type=&quot;action:Addresses&quot; to=&quot;id.103&quot; from=&quot;id.130&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100633"></A>            &lt;actionRelation xmi:id=&quot;id.134&quot; xmi:type=&quot;action:Calls&quot; to=&quot;id.160&quot; from=&quot;id.130&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100634"></A>            &lt;actionRelation xmi:id=&quot;id.135&quot; xmi:type=&quot;action:Writes&quot; to=&quot;id.132&quot; from=&quot;id.130&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100635"></A>            &lt;actionRelation xmi:id=&quot;id.136&quot; xmi:type=&quot;action:Flow&quot; to=&quot;id.137&quot; from=&quot;id.130&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100636"></A>          &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100637"></A>          &lt;codeElement xmi:id=&quot;id.137&quot; xmi:type=&quot;action:ActionElement&quot; name=&quot;c7.2&quot; kind=&quot;New&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100638"></A>            &lt;actionRelation xmi:id=&quot;id.138&quot; xmi:type=&quot;action:Creates&quot; to=&quot;id.168&quot; from=&quot;id.137&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100639"></A>            &lt;actionRelation xmi:id=&quot;id.139&quot; xmi:type=&quot;action:Writes&quot; to=&quot;id.128&quot; from=&quot;id.137&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100640"></A>            &lt;actionRelation xmi:id=&quot;id.140&quot; xmi:type=&quot;action:Flow&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100641"></A>          &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100642"></A>          &lt;codeElement xmi:id=&quot;id.141&quot; xmi:type=&quot;action:ActionElement&quot; name=&quot;c7.3&quot; kind=&quot;MethodCall&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100643"></A>            &lt;actionRelation xmi:id=&quot;id.142&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.132&quot; from=&quot;id.137&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100644"></A>            &lt;actionRelation xmi:id=&quot;id.143&quot; xmi:type=&quot;action:Calls&quot; to=&quot;id.169&quot; from=&quot;id.141&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100645"></A>            &lt;actionRelation xmi:id=&quot;id.144&quot; xmi:type=&quot;action:Writes&quot; to=&quot;id.128&quot; from=&quot;id.141&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100646"></A>          &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100647"></A>        &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100648"></A>      &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100649"></A>      &lt;codeElement xmi:id=&quot;id.145&quot; xmi:type=&quot;code:Value&quot;</P>
<P CLASS="example">
<A NAME="pgfId-1100748"></A>		 name=&quot;&amp;quot;SELECT * FROM contracts c, products p WHERE ID=? AND c.product=p.ID&amp;quot;&quot;</P>
<P CLASS="example">
<A NAME="pgfId-1100749"></A>		 type=&quot;id.178&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100650"></A>      &lt;codeElement xmi:id=&quot;id.146&quot; xmi:type=&quot;code:MethodUnit&quot; name=&quot;init&quot; kind=&quot;constructor&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100651"></A>        &lt;entryFlow xmi:id=&quot;id.147&quot; to=&quot;id.148&quot; from=&quot;id.146&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100652"></A>        &lt;codeElement xmi:id=&quot;id.148&quot; xmi:type=&quot;action:ActionElement&quot; name=&quot;i1&quot; kind=&quot;Assign&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100653"></A>          &lt;actionRelation xmi:id=&quot;id.149&quot; xmi:type=&quot;action:Reads&quot; to=&quot;id.145&quot; from=&quot;id.148&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100654"></A>          &lt;actionRelation xmi:id=&quot;id.150&quot; xmi:type=&quot;action:Writes&quot; to=&quot;id.72&quot; from=&quot;id.148&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100655"></A>        &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100656"></A>      &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100657"></A>    &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100658"></A>  &lt;/model&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100659"></A>  &lt;model xmi:id=&quot;id.151&quot; xmi:type=&quot;code:CodeModel&quot; name=&quot;Java packages&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100660"></A>    &lt;codeElement xmi:id=&quot;id.152&quot; xmi:type=&quot;code:Package&quot; name=&quot;java.sql&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100661"></A>      &lt;codeElement xmi:id=&quot;id.153&quot; xmi:type=&quot;code:ClassUnit&quot; name=&quot;DriverManager&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100662"></A>        &lt;codeElement xmi:id=&quot;id.154&quot; xmi:type=&quot;code:MethodUnit&quot; name=&quot;getConnection&quot; kind=&quot;abstract&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100663"></A>      &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100664"></A>      &lt;codeElement xmi:id=&quot;id.155&quot; xmi:type=&quot;code:ClassUnit&quot; name=&quot;Connection&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100665"></A>        &lt;codeElement xmi:id=&quot;id.156&quot; xmi:type=&quot;code:MethodUnit&quot; name=&quot;prepareStatement&quot; kind=&quot;abstract&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100666"></A>      &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100667"></A>      &lt;codeElement xmi:id=&quot;id.157&quot; xmi:type=&quot;code:ClassUnit&quot; name=&quot;ResultSet&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100668"></A>        &lt;codeElement xmi:id=&quot;id.158&quot; xmi:type=&quot;code:MethodUnit&quot; name=&quot;next&quot; kind=&quot;abstract&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100669"></A>        &lt;codeElement xmi:id=&quot;id.159&quot; xmi:type=&quot;code:MethodUnit&quot; name=&quot;getBigDecimal&quot; kind=&quot;abstract&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100670"></A>        &lt;codeElement xmi:id=&quot;id.160&quot; xmi:type=&quot;code:MethodUnit&quot; name=&quot;getDate&quot; kind=&quot;abstract&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100671"></A>      &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100672"></A>      &lt;codeElement xmi:id=&quot;id.161&quot; xmi:type=&quot;code:ClassUnit&quot; name=&quot;Statement&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100673"></A>        &lt;codeElement xmi:id=&quot;id.162&quot; xmi:type=&quot;code:MethodUnit&quot; name=&quot;setLong&quot; kind=&quot;abstract&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100674"></A>        &lt;codeElement xmi:id=&quot;id.163&quot; xmi:type=&quot;code:MethodUnit&quot; name=&quot;executeQuery&quot; kind=&quot;abstract&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100675"></A>      &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100676"></A>    &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100677"></A>    &lt;codeElement xmi:id=&quot;id.164&quot; xmi:type=&quot;code:Package&quot; name=&quot;Money&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100678"></A>      &lt;codeElement xmi:id=&quot;id.165&quot; xmi:type=&quot;code:ClassUnit&quot; name=&quot;Money&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100679"></A>        &lt;codeElement xmi:id=&quot;id.166&quot; xmi:type=&quot;code:MethodUnit&quot; name=&quot;dollars&quot; kind=&quot;abstract&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100680"></A>      &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100681"></A>    &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100682"></A>    &lt;codeElement xmi:id=&quot;id.167&quot; xmi:type=&quot;code:Package&quot; name=&quot;MfDate&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100683"></A>      &lt;codeElement xmi:id=&quot;id.168&quot; xmi:type=&quot;code:ClassUnit&quot; name=&quot;MfDate&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100684"></A>        &lt;codeElement xmi:id=&quot;id.169&quot; xmi:type=&quot;code:MethodUnit&quot; name=&quot;MfDate&quot; kind=&quot;abstract&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100685"></A>      &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100686"></A>    &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100687"></A>  &lt;/model&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100688"></A>  &lt;model xmi:id=&quot;id.170&quot; xmi:type=&quot;code:CodeModel&quot; name=&quot;Common Datatypes&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100689"></A>    &lt;codeElement xmi:id=&quot;id.171&quot; xmi:type=&quot;code:LanguageUnit&quot; name=&quot;SQL datatypes&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100690"></A>      &lt;codeElement xmi:id=&quot;id.172&quot; xmi:type=&quot;code:IntegerType&quot; name=&quot;sql int&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100691"></A>      &lt;codeElement xmi:id=&quot;id.173&quot; xmi:type=&quot;code:StringType&quot; name=&quot;sql varchar&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100692"></A>      &lt;codeElement xmi:id=&quot;id.174&quot; xmi:type=&quot;code:DecimalType&quot; name=&quot;sql decimal&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100693"></A>      &lt;codeElement xmi:id=&quot;id.175&quot; xmi:type=&quot;code:DateType&quot; name=&quot;sql date&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100694"></A>      &lt;codeElement xmi:id=&quot;id.176&quot; xmi:type=&quot;code:BooleanType&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100695"></A>    &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100696"></A>    &lt;codeElement xmi:id=&quot;id.177&quot; xmi:type=&quot;code:LanguageUnit&quot; name=&quot;Java datatypes&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100697"></A>      &lt;codeElement xmi:id=&quot;id.178&quot; xmi:type=&quot;code:StringType&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100698"></A>      &lt;codeElement xmi:id=&quot;id.179&quot; xmi:type=&quot;code:IntegerType&quot; name=&quot;java long&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100699"></A>      &lt;codeElement xmi:id=&quot;id.180&quot; xmi:type=&quot;code:IntegerType&quot; name=&quot;java byte&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100700"></A>    &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100701"></A>  &lt;/model&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100702"></A>&lt;/kdm:Segment&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1100463"></A>&nbsp;</P>
<P CLASS="paragraph">
<A NAME="pgfId-1099890"></A>&nbsp;</P>
</DIV>
</DIV>
</DIV>
<DIV>
<H3 CLASS="Heading1">
<A NAME="pgfId-1097175"></A><A NAME="_Toc131848388"></A>StructuredData Class Diagram</H3>
<P CLASS="Body">
<A NAME="pgfId-1097177"></A>The StructuredData class diagram provides basic meta-model constructs to define the XML files that can be used by enterprise applications for persistent storage or as an exchange mechanism between components. The class diagram shown in <A HREF="KDM_1.0_18_datapkg.htm#80274" CLASS="XRef">See - StructuredData Class Diagram.</A> captures these classes and their relations.</P>
<P CLASS="Body">
<A NAME="pgfId-1096987"></A>&nbsp;</P>
<DIV>
<IMG SRC="KDM_1.0_18_datapkg-8.gif">
</DIV>
<DIV>
<H6 CLASS="FigureCaption-">
<A NAME="pgfId-1097229"></A><A NAME="80274"></A>- StructuredData Class Diagram</H6>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1097244"></A><A NAME="_Toc131848389"></A>XMLSchema</H4>
<P CLASS="Body">
<A NAME="pgfId-1097245"></A>The XMLSchema class represents the top level container for a KDM metamodel of an XML document.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1097247"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1097248"></A>AbstractDataElement</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1097250"></A>Associations</H6>
<P CLASS="Body">
<A NAME="pgfId-1097256"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1097253"></A>contentElement :AbstractContentElement[0..*]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1097255"></A>Individual content elements owned by this schema </H6>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1097259"></A>Semantics</H6>
<P CLASS="Body">
<A NAME="pgfId-1101247"></A>XMLSchema is a logical container for AbstractContentElements as well as some other DataResource elements, for example DataEvents.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1101245"></A>&nbsp;</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1099390"></A>AbstractContentElement (abstract)</H4>
<P CLASS="Body">
<A NAME="pgfId-1099391"></A>The AbstractContentElement class is a abstract parent for several concrete classes whose purpose is to represent the content of XML schemas and documents as well as various structured data items that can be associated with other KDM elements.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099392"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1099393"></A>AbstractDataElement</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099401"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1099387"></A>AbstractContentElement represents common properties of content elements.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1101250"></A>&nbsp;</P>
</DIV>
</DIV>
</DIV>
<DIV>
<H3 CLASS="Heading1">
<A NAME="pgfId-1097263"></A><A NAME="_Toc131848390"></A>ContentElements Class Diagram</H3>
<P CLASS="Body">
<A NAME="pgfId-1097265"></A>The ContentElements class diagram defines basic meta-model constructs to represent XML elements. The class diagram shown in <A HREF="KDM_1.0_18_datapkg.htm#21250" CLASS="XRef">See - ContentElements Class Diagram.</A> captures these classes and their relations.</P>
<P CLASS="Body">
<A NAME="pgfId-1097231"></A>&nbsp;</P>
<DIV>
<IMG SRC="KDM_1.0_18_datapkg-9.gif">
</DIV>
<DIV>
<H6 CLASS="FigureCaption-">
<A NAME="pgfId-1102510"></A><A NAME="21250"></A>- ContentElements Class Diagram</H6>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1102512"></A><A NAME="_Toc131848393"></A>ContentItem (generic)</H4>
<P CLASS="Body">
<A NAME="pgfId-1102513"></A>The ContentItem class is a generic meta-model element which represents named items and references of the XML schema: elements, attributes, references and groups.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1102494"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1102495"></A>AbstractContentElement</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1102496"></A>Associations</H6>
<P CLASS="Body">
<A NAME="pgfId-1102502"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1102499"></A>contentElement :AbstractContentElement[0..*]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1102501"></A>Owned content elements</H6>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1103490"></A>type:ComplexContentType[0..1]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1103492"></A>Content type of the current ContentItem</H6>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1102503"></A>Semantics</H6>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1102519"></A>ComplexContentType</H4>
<P CLASS="Body">
<A NAME="pgfId-1102520"></A>The ComplexContentType class represents Complex Types of an XML schema definition. XSD indicators are modeled as subclasses of ComplexContentType.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1102521"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1102522"></A>AbstractContentElement</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1102523"></A>Associations</H6>
<P CLASS="Body">
<A NAME="pgfId-1102529"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1102526"></A>contentElement :AbstractContentElement[0..*]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1102528"></A>Owned content elements</H6>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1102530"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1102516"></A>&nbsp;</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1102489"></A><A NAME="_Toc131848391"></A>SimpleContentType</H4>
<P CLASS="Body">
<A NAME="pgfId-1097332"></A>The SimpleContentType class represents Simple Types of an XML schema definition.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1097334"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1097335"></A>ComplexContentType</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1103512"></A>Attributes</H6>
<P CLASS="Body">
<A NAME="pgfId-1103518"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1103515"></A>kind:String</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1103517"></A>Content kind of the current SimpleContentType</H6>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1103495"></A>Associations</H6>
<P CLASS="Body">
<A NAME="pgfId-1103505"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1103502"></A>type:ComplexContentType[0..*]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1103504"></A>Content type of the current ContentItem</H6>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1097345"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1101251"></A>Simple types, such as string and decimal, are built in to XML Schema, while others are derived from the built-in's. kind of SimpleContentType can be &quot;list&quot;, &quot;union&quot;, &quot;enumeration&quot;, etc.</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1097348"></A><A NAME="_Toc131848392"></A>ContentRestriction</H4>
<P CLASS="Body">
<A NAME="pgfId-1097349"></A>The ContentRestriction class represents restrictions to Simple Types, Elements, Attributes and References.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1097351"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1097352"></A>AbstractContentElement</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1097354"></A>Attributes</H6>
<P CLASS="Body">
<A NAME="pgfId-1097360"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1097357"></A>kind :String</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1097359"></A>Type of the content restriction (XML)</H6>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1098357"></A>value:String</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1098359"></A>value of the constraint</H6>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1097362"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1101262"></A>kind is an XSD restriction, such as minExclusive, minInclusive, maxExclusive, maxInclusive, totalDigits, fractionDigits, length, minLength, maxLength, enumeration, whiteSpace, pattern; or XSD an element attribute, such as minOccurs, maxOccurs, required, fixed; or an XSD enumeration.</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1101274"></A>Example:</H6>
<P CLASS="example">
<A NAME="pgfId-1101280"></A>&lt;xsd:simpleType name=&quot;myInteger&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101281"></A>  &lt;xsd:restriction base=&quot;xsd:integer&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101282"></A>    &lt;xsd:minInclusive value=&quot;10000&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101283"></A>    &lt;xsd:maxInclusive value=&quot;99999&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101284"></A>  &lt;/xsd:restriction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101285"></A>&lt;/xsd:simpleType&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101286"></A>&nbsp;</P>
<P CLASS="example">
<A NAME="pgfId-1101287"></A>&lt;xsd:simpleType name=&quot;SKU&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101288"></A>  &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101289"></A>    &lt;xsd:pattern value=&quot;&#92;d{3}-[A-Z]{2}&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101290"></A>  &lt;/xsd:restriction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101291"></A>&lt;/xsd:simpleType&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101292"></A>&nbsp;</P>
<P CLASS="example">
<A NAME="pgfId-1101293"></A>&lt;xsd:simpleType name=&quot;USState&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101294"></A>  &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101295"></A>    &lt;xsd:enumeration value=&quot;AK&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101296"></A>    &lt;xsd:enumeration value=&quot;AL&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101297"></A>    &lt;xsd:enumeration value=&quot;AR&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101298"></A>    &lt;!-- and so on ... --&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101299"></A>  &lt;/xsd:restriction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101300"></A>&lt;/xsd:simpleType&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101301"></A>&nbsp;</P>
<P CLASS="example">
<A NAME="pgfId-1101302"></A>&lt;xsd:simpleType name=&quot;listOfMyIntType&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101303"></A>  &lt;xsd:list itemType=&quot;myInteger&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101304"></A>&lt;/xsd:simpleType&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101305"></A>&nbsp;</P>
<P CLASS="example">
<A NAME="pgfId-1101306"></A>&lt;xsd:simpleType name=&quot;USStateList&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101307"></A>  &lt;xsd:list itemType=&quot;USState&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101308"></A>&lt;/xsd:simpleType&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101309"></A>&nbsp;</P>
<P CLASS="example">
<A NAME="pgfId-1101310"></A>&lt;xsd:simpleType name=&quot;SixUSStates&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101311"></A>  &lt;xsd:restriction base=&quot;USStateList&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101312"></A>    &lt;xsd:length value=&quot;6&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101313"></A>  &lt;/xsd:restriction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101314"></A>&lt;/xsd:simpleType&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101315"></A>&nbsp;</P>
<P CLASS="example">
<A NAME="pgfId-1101316"></A>&lt;xsd:simpleType name=&quot;zipUnion&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101317"></A>  &lt;xsd:union memberTypes=&quot;USState listOfMyIntType&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101275"></A>&lt;/xsd:simpleType&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101324"></A>&nbsp;</P>
<P CLASS="example">
<A NAME="pgfId-1102358"></A>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102359"></A>&lt;kdm:Segment xmi:version=&quot;2.1&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1102429"></A>	xmlns:xmi=&quot;http://www.omg.org/XMI&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1102430"></A>	xmlns:code=&quot;http://kdm.omg.org/code&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1102431"></A>	xmlns:data=&quot;http://kdm.omg.org/data&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1102432"></A>	xmlns:kdm=&quot;http://kdm.omg.org/kdm&quot; name=&quot;XML Simple Content Example&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102360"></A>  &lt;model xmi:id=&quot;id.0&quot; xmi:type=&quot;data:DataModel&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102361"></A>    &lt;dataElement xmi:id=&quot;id.1&quot; xmi:type=&quot;data:XMLSchema&quot; name=&quot;SimpleType examples&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102362"></A>      &lt;contentElement xmi:id=&quot;id.2&quot; xmi:type=&quot;data:SimpleContentType&quot; name=&quot;MyInteger&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102363"></A>        &lt;dataRelation xmi:id=&quot;id.3&quot; xmi:type=&quot;data:RestrictionOf&quot; to=&quot;id.27&quot; from=&quot;id.2&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102364"></A>        &lt;contentElement xmi:id=&quot;id.4&quot; xmi:type=&quot;data:ContentRestriction&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1102433"></A>			kind=&quot;minInclusive&quot; value=&quot;10000&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102365"></A>        &lt;contentElement xmi:id=&quot;id.5&quot; xmi:type=&quot;data:ContentRestriction&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1102434"></A>			kind=&quot;maxInclusive&quot; value=&quot;99999&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102366"></A>      &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102367"></A>      &lt;contentElement xmi:id=&quot;id.6&quot; xmi:type=&quot;data:SimpleContentType&quot; name=&quot;SKU&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102368"></A>        &lt;dataRelation xmi:id=&quot;id.7&quot; xmi:type=&quot;data:RestrictionOf&quot; to=&quot;id.29&quot; from=&quot;id.2&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102369"></A>        &lt;contentElement xmi:id=&quot;id.8&quot; xmi:type=&quot;data:ContentRestriction&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1102435"></A>		kind=&quot;pattern&quot; value=&quot;&amp;quot;&#92;d{3}-[A-Z]{2}&amp;quot;&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102370"></A>      &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102371"></A>      &lt;contentElement xmi:id=&quot;id.9&quot; xmi:type=&quot;data:SimpleContentType&quot; name=&quot;USState&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102372"></A>        &lt;contentElement xmi:id=&quot;id.10&quot; xmi:type=&quot;data:ContentRestriction&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1102436"></A>			kind=&quot;enumeration&quot; value=&quot;&amp;quot;AK&amp;quot;&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102373"></A>        &lt;contentElement xmi:id=&quot;id.11&quot; xmi:type=&quot;data:ContentRestriction&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1102437"></A>			kind=&quot;enumeration&quot; value=&quot;&amp;quot;AL&amp;quot;&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102374"></A>        &lt;contentElement xmi:id=&quot;id.12&quot; xmi:type=&quot;data:ContentRestriction&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1102438"></A>			kind=&quot;enumeration&quot; value=&quot;&amp;quot;AR&amp;quot;&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102375"></A>      &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102376"></A>      &lt;contentElement xmi:id=&quot;id.13&quot; xmi:type=&quot;data:SimpleContentType&quot; name=&quot;listOfMyIntType&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102377"></A>        &lt;contentElement xmi:id=&quot;id.14&quot; xmi:type=&quot;data:ListContent&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102378"></A>          &lt;dataRelation xmi:id=&quot;id.15&quot; xmi:type=&quot;data:TypedBy&quot; to=&quot;id.2&quot; from=&quot;id.14&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102379"></A>        &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102380"></A>      &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102381"></A>      &lt;contentElement xmi:id=&quot;id.16&quot; xmi:type=&quot;data:SimpleContentType&quot; name=&quot;USStateList&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102382"></A>        &lt;contentElement xmi:id=&quot;id.17&quot; xmi:type=&quot;data:ListContent&quot; name=&quot;&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102383"></A>          &lt;dataRelation xmi:id=&quot;id.18&quot; xmi:type=&quot;data:TypedBy&quot; to=&quot;id.9&quot; from=&quot;id.17&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102384"></A>        &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102385"></A>      &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102386"></A>      &lt;contentElement xmi:id=&quot;id.19&quot; xmi:type=&quot;data:SimpleContentType&quot; name=&quot;SixUSStates&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102387"></A>        &lt;dataRelation xmi:id=&quot;id.20&quot; xmi:type=&quot;data:RestrictionOf&quot; to=&quot;id.16&quot; from=&quot;id.19&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102388"></A>        &lt;contentElement xmi:id=&quot;id.21&quot; xmi:type=&quot;data:ContentRestriction&quot; kind=&quot;length&quot; value=&quot;6&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102389"></A>      &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102390"></A>      &lt;contentElement xmi:id=&quot;id.22&quot; xmi:type=&quot;data:SimpleContentType&quot; name=&quot;zipUnion&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102391"></A>        &lt;contentElement xmi:id=&quot;id.23&quot; xmi:type=&quot;data:UnionContent&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102392"></A>          &lt;dataRelation xmi:id=&quot;id.24&quot; xmi:type=&quot;data:TypedBy&quot; to=&quot;id.9&quot; from=&quot;id.23&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102393"></A>          &lt;dataRelation xmi:id=&quot;id.25&quot; xmi:type=&quot;data:TypedBy&quot; to=&quot;id.13&quot; from=&quot;id.23&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102394"></A>        &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102395"></A>      &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102396"></A>    &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102397"></A>    &lt;dataElement xmi:id=&quot;id.26&quot; xmi:type=&quot;data:XMLSchema&quot; name=&quot;xsd&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102398"></A>      &lt;contentElement xmi:id=&quot;id.27&quot; xmi:type=&quot;data:SimpleContentType&quot; name=&quot;xsd:Integer&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102399"></A>        &lt;dataRelation xmi:id=&quot;id.28&quot; xmi:type=&quot;data:DatatypeOf&quot; to=&quot;id.41&quot; from=&quot;id.27&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102400"></A>      &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102401"></A>      &lt;contentElement xmi:id=&quot;id.29&quot; xmi:type=&quot;data:SimpleContentType&quot; name=&quot;xsd:String&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102402"></A>        &lt;dataRelation xmi:id=&quot;id.30&quot; xmi:type=&quot;data:DatatypeOf&quot; to=&quot;id.42&quot; from=&quot;id.29&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102403"></A>      &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102404"></A>      &lt;contentElement xmi:id=&quot;id.31&quot; xmi:type=&quot;data:SimpleContentType&quot; name=&quot;xsd:Decimal&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102405"></A>        &lt;dataRelation xmi:id=&quot;id.32&quot; xmi:type=&quot;data:DatatypeOf&quot; to=&quot;id.43&quot; from=&quot;id.31&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102406"></A>      &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102407"></A>      &lt;contentElement xmi:id=&quot;id.33&quot; xmi:type=&quot;data:SimpleContentType&quot; name=&quot;xsd:positiveInteger&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102408"></A>        &lt;dataRelation xmi:id=&quot;id.34&quot; xmi:type=&quot;data:DatatypeOf&quot; to=&quot;id.41&quot; from=&quot;id.33&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102409"></A>      &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102410"></A>      &lt;contentElement xmi:id=&quot;id.35&quot; xmi:type=&quot;data:SimpleContentType&quot; name=&quot;xsd:date&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102411"></A>        &lt;dataRelation xmi:id=&quot;id.36&quot; xmi:type=&quot;data:DatatypeOf&quot; to=&quot;id.44&quot; from=&quot;id.35&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102412"></A>      &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102413"></A>      &lt;contentElement xmi:id=&quot;id.37&quot; xmi:type=&quot;data:SimpleContentType&quot; name=&quot;xsd:any&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102414"></A>      &lt;contentElement xmi:id=&quot;id.38&quot; xmi:type=&quot;data:SimpleContentType&quot; name=&quot;xsd:NMTOKEN&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102415"></A>    &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102416"></A>  &lt;/model&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102417"></A>  &lt;model xmi:id=&quot;id.39&quot; xmi:type=&quot;code:CodeModel&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102418"></A>    &lt;codeElement xmi:id=&quot;id.40&quot; xmi:type=&quot;code:LanguageUnit&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102419"></A>      &lt;codeElement xmi:id=&quot;id.41&quot; xmi:type=&quot;code:IntegerType&quot; name=&quot;xsd integer&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102420"></A>      &lt;codeElement xmi:id=&quot;id.42&quot; xmi:type=&quot;code:StringType&quot; name=&quot;xsd string&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102421"></A>      &lt;codeElement xmi:id=&quot;id.43&quot; xmi:type=&quot;code:DecimalType&quot; name=&quot;xsd decimal&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102422"></A>      &lt;codeElement xmi:id=&quot;id.44&quot; xmi:type=&quot;code:DateType&quot; name=&quot;xsd date&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102423"></A>    &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102424"></A>  &lt;/model&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102425"></A>&lt;/kdm:Segment&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101325"></A>&nbsp;</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1097386"></A><A NAME="_Toc131848394"></A>AllContent Class</H4>
<P CLASS="Body">
<A NAME="pgfId-1097388"></A>An AllContent class is a meta-model element that represents complex types with the &quot;all&quot; order indicator.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1097390"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1097391"></A>ComplexContentType</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1097393"></A>Constraints</H6>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1097395"></A>Semantics</H6>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1097398"></A><A NAME="_Toc131848395"></A>SeqContent Class</H4>
<P CLASS="Body">
<A NAME="pgfId-1097400"></A>An SeqContent class is a meta-model element that represents complex types with the &quot;sequence&quot; order indicator.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1097402"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1097403"></A>ComplexContentType</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1097405"></A>Constraints</H6>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1097407"></A>Semantics</H6>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1097410"></A><A NAME="_Toc131848396"></A>ChoiceContent Class</H4>
<P CLASS="Body">
<A NAME="pgfId-1097412"></A>An ChoiceContent class is a meta-model element that represents complex types with the &quot;choice&quot; order indicator.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1097414"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1097415"></A>XMLComplexType</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1097417"></A>Constraints</H6>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1097419"></A>Semantics</H6>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1097434"></A><A NAME="_Toc131848398"></A>GroupContent Class</H4>
<P CLASS="Body">
<A NAME="pgfId-1097436"></A>An GroupContent class is a meta-model element that represents complex types with the &quot;group&quot; group indicator.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1097438"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1097439"></A>ComplexContentType</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1097441"></A>Constraints</H6>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1097443"></A>Semantics</H6>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1098391"></A>MixedContent Class</H4>
<P CLASS="Body">
<A NAME="pgfId-1098392"></A>An MixedContent class is a meta-model element that represents complex types with the &quot;mixed&quot;   indicator.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098393"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1098394"></A>ComplexContentType</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098395"></A>Constraints</H6>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098396"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1098388"></A>&nbsp;</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1098415"></A>ContentAttribute Class</H4>
<P CLASS="Body">
<A NAME="pgfId-1098416"></A>An ContentAttribute class is a meta-model element that represents the XML &quot;attribute&quot; declaration mechanism of XML Schemas.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098417"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1098418"></A>ContentItem</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098419"></A>Constraints</H6>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098420"></A>Semantics</H6>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1098430"></A>ContentElement Class</H4>
<P CLASS="Body">
<A NAME="pgfId-1098431"></A>An ContentElement class is a meta-model element that represents the XML &quot;element&quot; declaration mechanism of XML Schemas.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098432"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1098433"></A>ContentItem</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098434"></A>Constraints</H6>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098435"></A>Semantics</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1098413"></A>&nbsp;</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1098446"></A>ContentReference Class</H4>
<P CLASS="Body">
<A NAME="pgfId-1098447"></A>An ContentReference class is a meta-model element that represents the XML &quot;reference&quot; declaration mechanism of XML Schemas.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098448"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1098449"></A>ContentItem</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098450"></A>Constraints</H6>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1101722"></A>Semantics</H6>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1101729"></A>Example:</H6>
<P CLASS="example">
<A NAME="pgfId-1101735"></A>&lt;xsd:element name=&quot;letterBody&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101736"></A>  &lt;xsd:complexType mixed=&quot;true&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101737"></A>    &lt;xsd:sequence&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101738"></A>      &lt;xsd:element name=&quot;salutation&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101739"></A>        &lt;xsd:complexType mixed=&quot;true&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101740"></A>          &lt;xsd:sequence&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101741"></A>            &lt;xsd:element name=&quot;name&quot; type=&quot;xsd:string&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101742"></A>          &lt;/xsd:sequence&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101743"></A>        &lt;/xsd:complexType&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101744"></A>      &lt;/xsd:element&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101745"></A>      &lt;xsd:element name=&quot;quantity&quot;    type=&quot;xsd:positiveInteger&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101746"></A>      &lt;xsd:element name=&quot;productName&quot; type=&quot;xsd:string&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101747"></A>      &lt;xsd:element name=&quot;shipDate&quot;    type=&quot;xsd:date&quot; minOccurs=&quot;0&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101748"></A>      &lt;!-- etc. --&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101749"></A>    &lt;/xsd:sequence&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101750"></A>  &lt;/xsd:complexType&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101751"></A>&lt;/xsd:element&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101752"></A>&nbsp;</P>
<P CLASS="example">
<A NAME="pgfId-1101753"></A>&lt;xsd:complexType name=&quot;USAddress&quot; &gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101754"></A>  &lt;xsd:sequence&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101755"></A>    &lt;xsd:element name=&quot;name&quot;   type=&quot;xsd:string&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101756"></A>    &lt;xsd:element name=&quot;street&quot; type=&quot;xsd:string&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101757"></A>    &lt;xsd:element name=&quot;city&quot;   type=&quot;xsd:string&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101758"></A>    &lt;xsd:element name=&quot;state&quot;  type=&quot;xsd:string&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101759"></A>    &lt;xsd:element name=&quot;zip&quot;    type=&quot;xsd:decimal&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101760"></A>  &lt;/xsd:sequence&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101761"></A>  &lt;xsd:attribute name=&quot;country&quot; type=&quot;xsd:NMTOKEN&quot; fixed=&quot;US&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101762"></A>&lt;/xsd:complexType&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101763"></A>&nbsp;</P>
<P CLASS="example">
<A NAME="pgfId-1101764"></A>&lt;xsd:complexType name=&quot;Items&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101765"></A>  &lt;xsd:sequence&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101766"></A>    &lt;xsd:element name=&quot;item&quot; minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101767"></A>      &lt;xsd:complexType&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101768"></A>        &lt;xsd:sequence&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101769"></A>          &lt;xsd:element name=&quot;productName&quot; type=&quot;xsd:string&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101770"></A>          &lt;xsd:element name=&quot;quantity&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101771"></A>            &lt;xsd:simpleType&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101772"></A>              &lt;xsd:restriction base=&quot;xsd:positiveInteger&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101773"></A>                &lt;xsd:maxExclusive value=&quot;100&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101774"></A>              &lt;/xsd:restriction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101775"></A>            &lt;/xsd:simpleType&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101776"></A>          &lt;/xsd:element&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101777"></A>          &lt;xsd:element name=&quot;USPrice&quot;  type=&quot;xsd:decimal&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101778"></A>          &lt;xsd:element ref=&quot;comment&quot;   minOccurs=&quot;0&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101779"></A>          &lt;xsd:element name=&quot;shipDate&quot; type=&quot;xsd:date&quot; minOccurs=&quot;0&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101780"></A>        &lt;/xsd:sequence&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101781"></A>        &lt;xsd:attribute name=&quot;partNum&quot; type=&quot;SKU&quot; use=&quot;required&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101782"></A>      &lt;/xsd:complexType&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101783"></A>    &lt;/xsd:element&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101784"></A>  &lt;/xsd:sequence&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101785"></A>&lt;/xsd:complexType&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101786"></A>&nbsp;</P>
<P CLASS="example">
<A NAME="pgfId-1101787"></A>&lt;xsd:element name=&quot;internationalPrice&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101788"></A>  &lt;xsd:complexType&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101789"></A>    &lt;xsd:complexContent&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101790"></A>      &lt;xsd:restriction base=&quot;xsd:anyType&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101791"></A>        &lt;xsd:attribute name=&quot;currency&quot; type=&quot;xsd:string&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101792"></A>        &lt;xsd:attribute name=&quot;value&quot;    type=&quot;xsd:decimal&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101793"></A>      &lt;/xsd:restriction&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101794"></A>    &lt;/xsd:complexContent&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101795"></A>  &lt;/xsd:complexType&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101796"></A>&lt;/xsd:element&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101797"></A>&nbsp;</P>
<P CLASS="example">
<A NAME="pgfId-1101798"></A>&lt;xsd:complexType name=&quot;PurchaseOrderType&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101799"></A>  &lt;xsd:sequence&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101800"></A>    &lt;xsd:choice&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101801"></A>      &lt;xsd:group   ref=&quot;shipAndBill&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101802"></A>      &lt;xsd:element name=&quot;singleUSAddress&quot; type=&quot;USAddress&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101803"></A>    &lt;/xsd:choice&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101804"></A>    &lt;xsd:element ref=&quot;comment&quot; minOccurs=&quot;0&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101805"></A>    &lt;xsd:element name=&quot;items&quot;  type=&quot;Items&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101806"></A>  &lt;/xsd:sequence&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101807"></A>  &lt;xsd:attribute name=&quot;orderDate&quot; type=&quot;xsd:date&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101808"></A>&lt;/xsd:complexType&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101809"></A>&nbsp;</P>
<P CLASS="example">
<A NAME="pgfId-1101810"></A>&lt;xsd:group id=&quot;shipAndBill&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101811"></A>  &lt;xsd:sequence&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101812"></A>    &lt;xsd:element name=&quot;shipTo&quot; type=&quot;USAddress&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101813"></A>    &lt;xsd:element name=&quot;billTo&quot; type=&quot;USAddress&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101814"></A>  &lt;/xsd:sequence&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101723"></A>&lt;/xsd:group&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101830"></A>&nbsp;</P>
<P CLASS="example">
<A NAME="pgfId-1102610"></A>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102611"></A>&lt;kdm:Segment xmi:version=&quot;2.1&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1102775"></A>	xmlns:xmi=&quot;http://www.omg.org/XMI&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1102776"></A>	xmlns:code=&quot;http://kdm.omg.org/code&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1102777"></A>	xmlns:data=&quot;http://kdm.omg.org/data&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1102778"></A>	xmlns:kdm=&quot;http://kdm.omg.org/kdm&quot; name=&quot;XML Complex Content Example&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102612"></A>  &lt;model xmi:id=&quot;id.0&quot; xmi:type=&quot;data:DataModel&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102613"></A>    &lt;dataElement xmi:id=&quot;id.1&quot; xmi:type=&quot;data:XMLSchema&quot; name=&quot;Complex Content&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102614"></A>      &lt;contentElement xmi:id=&quot;id.2&quot; xmi:type=&quot;data:ContentElement&quot; name=&quot;letterBody&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102615"></A>        &lt;dataRelation xmi:id=&quot;id.3&quot; xmi:type=&quot;data:TypedBy&quot; to=&quot;id.4&quot; from=&quot;id.2&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102616"></A>        &lt;contentElement xmi:id=&quot;id.4&quot; xmi:type=&quot;data:MixedContent&quot; name=&quot;m1&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102617"></A>          &lt;contentElement xmi:id=&quot;id.5&quot; xmi:type=&quot;data:SeqContent&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102618"></A>            &lt;contentElement xmi:id=&quot;id.6&quot; xmi:type=&quot;data:ContentElement&quot; name=&quot;salutation&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102619"></A>              &lt;dataRelation xmi:id=&quot;id.7&quot; xmi:type=&quot;data:TypedBy&quot; to=&quot;id.8&quot; from=&quot;id.6&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102620"></A>              &lt;contentElement xmi:id=&quot;id.8&quot; xmi:type=&quot;data:MixedContent&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102621"></A>                &lt;contentElement xmi:id=&quot;id.9&quot; xmi:type=&quot;data:SeqContent&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102622"></A>                  &lt;contentElement xmi:id=&quot;id.10&quot; xmi:type=&quot;data:ContentElement&quot; name=&quot;name&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102623"></A>                    &lt;dataRelation xmi:id=&quot;id.11&quot; xmi:type=&quot;data:TypedBy&quot; to=&quot;id.88&quot; from=&quot;id.10&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102624"></A>                  &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102625"></A>                &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102626"></A>              &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102627"></A>            &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102628"></A>            &lt;contentElement xmi:id=&quot;id.12&quot; xmi:type=&quot;data:ContentElement&quot; name=&quot;quantity&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102629"></A>              &lt;dataRelation xmi:id=&quot;id.13&quot; xmi:type=&quot;data:TypedBy&quot; to=&quot;id.92&quot; from=&quot;id.12&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102630"></A>            &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102631"></A>            &lt;contentElement xmi:id=&quot;id.14&quot; xmi:type=&quot;data:ContentElement&quot; name=&quot;productName&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102632"></A>              &lt;dataRelation xmi:id=&quot;id.15&quot; xmi:type=&quot;data:TypedBy&quot; to=&quot;id.88&quot; from=&quot;id.14&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102633"></A>            &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102634"></A>            &lt;contentElement xmi:id=&quot;id.16&quot; xmi:type=&quot;data:ContentElement&quot; name=&quot;shipDate&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102635"></A>              &lt;dataRelation xmi:id=&quot;id.17&quot; xmi:type=&quot;data:TypedBy&quot; to=&quot;id.94&quot; from=&quot;id.16&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102636"></A>            &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102637"></A>          &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102638"></A>        &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102639"></A>      &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102640"></A>      &lt;contentElement xmi:id=&quot;id.18&quot; xmi:type=&quot;data:ComplexContentType&quot; name=&quot;USAddress&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102641"></A>        &lt;contentElement xmi:id=&quot;id.19&quot; xmi:type=&quot;data:SeqContent&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102642"></A>          &lt;contentElement xmi:id=&quot;id.20&quot; xmi:type=&quot;data:ContentElement&quot; name=&quot;name&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102643"></A>            &lt;dataRelation xmi:id=&quot;id.21&quot; xmi:type=&quot;data:TypedBy&quot; to=&quot;id.88&quot; from=&quot;id.20&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102644"></A>          &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102645"></A>          &lt;contentElement xmi:id=&quot;id.22&quot; xmi:type=&quot;data:ContentElement&quot; name=&quot;street&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102646"></A>            &lt;dataRelation xmi:id=&quot;id.23&quot; xmi:type=&quot;data:TypedBy&quot; to=&quot;id.88&quot; from=&quot;id.22&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102647"></A>          &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102648"></A>          &lt;contentElement xmi:id=&quot;id.24&quot; xmi:type=&quot;data:ContentElement&quot; name=&quot;city&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102649"></A>            &lt;dataRelation xmi:id=&quot;id.25&quot; xmi:type=&quot;data:TypedBy&quot; to=&quot;id.88&quot; from=&quot;id.24&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102650"></A>          &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102651"></A>          &lt;contentElement xmi:id=&quot;id.26&quot; xmi:type=&quot;data:ContentElement&quot; name=&quot;state&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102652"></A>            &lt;dataRelation xmi:id=&quot;id.27&quot; xmi:type=&quot;data:TypedBy&quot; to=&quot;id.88&quot; from=&quot;id.26&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102653"></A>          &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102654"></A>          &lt;contentElement xmi:id=&quot;id.28&quot; xmi:type=&quot;data:ContentElement&quot; name=&quot;zip&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102655"></A>            &lt;dataRelation xmi:id=&quot;id.29&quot; xmi:type=&quot;data:TypedBy&quot; to=&quot;id.88&quot; from=&quot;id.28&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102656"></A>          &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102657"></A>        &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102658"></A>        &lt;contentElement xmi:id=&quot;id.30&quot; xmi:type=&quot;data:ContentAttribute&quot; name=&quot;country&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102659"></A>          &lt;dataRelation xmi:id=&quot;id.31&quot; xmi:type=&quot;data:TypedBy&quot; to=&quot;id.97&quot; from=&quot;id.30&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102660"></A>          &lt;contentElement xmi:id=&quot;id.32&quot; xmi:type=&quot;data:ContentRestriction&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1102779"></A>			kind=&quot;fixed&quot; value=&quot;&amp;quot;US&amp;quot;&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102661"></A>        &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102662"></A>      &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102663"></A>      &lt;contentElement xmi:id=&quot;id.33&quot; xmi:type=&quot;data:ComplexContentType&quot; name=&quot;items&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102664"></A>        &lt;contentElement xmi:id=&quot;id.34&quot; xmi:type=&quot;data:SeqContent&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102665"></A>          &lt;contentElement xmi:id=&quot;id.35&quot; xmi:type=&quot;data:ContentElement&quot; name=&quot;item&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102666"></A>            &lt;dataRelation xmi:id=&quot;id.36&quot; xmi:type=&quot;data:TypedBy&quot; to=&quot;id.39&quot; from=&quot;id.35&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102667"></A>            &lt;contentElement xmi:id=&quot;id.37&quot; xmi:type=&quot;data:ContentRestriction&quot; kind=&quot;minOccurs&quot; value=&quot;0&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102668"></A>            &lt;contentElement xmi:id=&quot;id.38&quot; xmi:type=&quot;data:ContentRestriction&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1102780"></A>				kind=&quot;maxOccurs&quot; value=&quot;unbounded&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102669"></A>            &lt;contentElement xmi:id=&quot;id.39&quot; xmi:type=&quot;data:ComplexContentType&quot; name=&quot;i&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102670"></A>              &lt;contentElement xmi:id=&quot;id.40&quot; xmi:type=&quot;data:SeqContent&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102671"></A>                &lt;contentElement xmi:id=&quot;id.41&quot; xmi:type=&quot;data:ContentElement&quot; name=&quot;productName1&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102672"></A>                  &lt;dataRelation xmi:id=&quot;id.42&quot; xmi:type=&quot;data:TypedBy&quot; to=&quot;id.88&quot; from=&quot;id.41&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102673"></A>                &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102674"></A>                &lt;contentElement xmi:id=&quot;id.43&quot; xmi:type=&quot;data:ContentElement&quot; name=&quot;quantity1&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102675"></A>                  &lt;dataRelation xmi:id=&quot;id.44&quot; xmi:type=&quot;data:TypedBy&quot; to=&quot;id.45&quot; from=&quot;id.43&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102676"></A>                  &lt;contentElement xmi:id=&quot;id.45&quot; xmi:type=&quot;data:SimpleContentType&quot; name=&quot;st1&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102677"></A>                    &lt;dataRelation xmi:id=&quot;id.46&quot; xmi:type=&quot;data:RestrictionOf&quot; to=&quot;id.92&quot; from=&quot;id.45&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102678"></A>                    &lt;contentElement xmi:id=&quot;id.47&quot; xmi:type=&quot;data:ContentRestriction&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1102781"></A>						kind=&quot;maxExclusive&quot; value=&quot;100&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102679"></A>                  &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102680"></A>                &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102681"></A>                &lt;contentElement xmi:id=&quot;id.48&quot; xmi:type=&quot;data:ContentElement&quot; name=&quot;USPrice&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102682"></A>                  &lt;dataRelation xmi:id=&quot;id.49&quot; xmi:type=&quot;data:TypedBy&quot; to=&quot;id.90&quot; from=&quot;id.48&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102683"></A>                &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102684"></A>                &lt;contentElement xmi:id=&quot;id.50&quot; xmi:type=&quot;data:ContentReference&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102685"></A>                  &lt;dataRelation xmi:id=&quot;id.51&quot; xmi:type=&quot;data:ReferenceTo&quot; to=&quot;id.83&quot; from=&quot;id.50&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102686"></A>                  &lt;contentElement xmi:id=&quot;id.52&quot; xmi:type=&quot;data:ContentRestriction&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1102782"></A>					kind=&quot;minOccurs&quot; value=&quot;0&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102687"></A>                &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102688"></A>                &lt;contentElement xmi:id=&quot;id.53&quot; xmi:type=&quot;data:ContentElement&quot; name=&quot;shipDate1&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102689"></A>                  &lt;dataRelation xmi:id=&quot;id.54&quot; xmi:type=&quot;data:TypedBy&quot; to=&quot;id.94&quot; from=&quot;id.53&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102690"></A>                &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102691"></A>              &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102692"></A>              &lt;contentElement xmi:id=&quot;id.55&quot; xmi:type=&quot;data:ContentAttribute&quot; name=&quot;partNum&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102693"></A>                &lt;dataRelation xmi:id=&quot;id.56&quot; xmi:type=&quot;data:TypedBy&quot; from=&quot;id.55&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102694"></A>                &lt;contentElement xmi:id=&quot;id.57&quot; xmi:type=&quot;data:ContentRestriction&quot; </P>
<P CLASS="example">
<A NAME="pgfId-1102783"></A>					kind=&quot;use&quot; value=&quot;required&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102695"></A>              &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102696"></A>            &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102697"></A>          &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102698"></A>        &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102699"></A>      &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102700"></A>      &lt;contentElement xmi:id=&quot;id.58&quot; xmi:type=&quot;data:ContentElement&quot; name=&quot;international price&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102701"></A>        &lt;contentElement xmi:id=&quot;id.59&quot; xmi:type=&quot;data:ComplexContentType&quot; name=&quot;&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102702"></A>          &lt;dataRelation xmi:id=&quot;id.60&quot; xmi:type=&quot;data:RestrictionOf&quot; to=&quot;id.96&quot; from=&quot;id.59&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102703"></A>          &lt;contentElement xmi:id=&quot;id.61&quot; xmi:type=&quot;data:ContentAttribute&quot; name=&quot;currency1&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102704"></A>            &lt;dataRelation xmi:id=&quot;id.62&quot; xmi:type=&quot;data:TypedBy&quot; to=&quot;id.88&quot; from=&quot;id.61&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102705"></A>          &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102706"></A>          &lt;contentElement xmi:id=&quot;id.63&quot; xmi:type=&quot;data:ContentAttribute&quot; name=&quot;value&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102707"></A>            &lt;dataRelation xmi:id=&quot;id.64&quot; xmi:type=&quot;data:TypedBy&quot; to=&quot;id.90&quot; from=&quot;id.61&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102708"></A>          &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102709"></A>        &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102710"></A>      &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102711"></A>      &lt;contentElement xmi:id=&quot;id.65&quot; xmi:type=&quot;data:ComplexContentType&quot; name=&quot;PurchaseOrderType&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102712"></A>        &lt;contentElement xmi:id=&quot;id.66&quot; xmi:type=&quot;data:SeqContent&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102713"></A>          &lt;contentElement xmi:id=&quot;id.67&quot; xmi:type=&quot;data:ChoiceContent&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102714"></A>            &lt;contentElement xmi:id=&quot;id.68&quot; xmi:type=&quot;data:ContentReference&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102715"></A>              &lt;dataRelation xmi:id=&quot;id.69&quot; xmi:type=&quot;data:ReferenceTo&quot; to=&quot;id.79&quot; from=&quot;id.68&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102716"></A>            &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102717"></A>            &lt;contentElement xmi:id=&quot;id.70&quot; xmi:type=&quot;data:ContentElement&quot; name=&quot;singleUSAddress&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102718"></A>              &lt;dataRelation xmi:id=&quot;id.71&quot; xmi:type=&quot;data:TypedBy&quot; to=&quot;id.18&quot; from=&quot;id.70&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102719"></A>            &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102720"></A>          &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102721"></A>          &lt;contentElement xmi:id=&quot;id.72&quot; xmi:type=&quot;data:ContentReference&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102722"></A>            &lt;dataRelation xmi:id=&quot;id.73&quot; xmi:type=&quot;data:ReferenceTo&quot; to=&quot;id.83&quot; from=&quot;id.72&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102723"></A>            &lt;contentElement xmi:id=&quot;id.74&quot; xmi:type=&quot;data:ContentRestriction&quot; kind=&quot;minOccurs&quot; value=&quot;0&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102724"></A>          &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102725"></A>          &lt;contentElement xmi:id=&quot;id.75&quot; xmi:type=&quot;data:ContentElement&quot; name=&quot;items&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102726"></A>            &lt;dataRelation xmi:id=&quot;id.76&quot; xmi:type=&quot;data:TypedBy&quot; to=&quot;id.33&quot; from=&quot;id.75&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102727"></A>          &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102728"></A>        &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102729"></A>        &lt;contentElement xmi:id=&quot;id.77&quot; xmi:type=&quot;data:ContentAttribute&quot; name=&quot;orderDate&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102730"></A>          &lt;dataRelation xmi:id=&quot;id.78&quot; xmi:type=&quot;data:TypedBy&quot; to=&quot;id.94&quot; from=&quot;id.77&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102731"></A>        &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102732"></A>      &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102733"></A>      &lt;contentElement xmi:id=&quot;id.79&quot; xmi:type=&quot;data:GroupContent&quot; name=&quot;shipAndBill&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102734"></A>        &lt;contentElement xmi:id=&quot;id.80&quot; xmi:type=&quot;data:SeqContent&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102735"></A>          &lt;contentElement xmi:id=&quot;id.81&quot; xmi:type=&quot;data:ContentElement&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102736"></A>          &lt;contentElement xmi:id=&quot;id.82&quot; xmi:type=&quot;data:ContentElement&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102737"></A>        &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102738"></A>      &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102739"></A>      &lt;contentElement xmi:id=&quot;id.83&quot; xmi:type=&quot;data:ContentElement&quot; name=&quot;comment&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102740"></A>        &lt;dataRelation xmi:id=&quot;id.84&quot; xmi:type=&quot;data:TypedBy&quot; to=&quot;id.88&quot; from=&quot;id.83&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102741"></A>      &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102742"></A>    &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102743"></A>    &lt;dataElement xmi:id=&quot;id.85&quot; xmi:type=&quot;data:XMLSchema&quot; name=&quot;xsd&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102744"></A>      &lt;contentElement xmi:id=&quot;id.86&quot; xmi:type=&quot;data:SimpleContentType&quot; name=&quot;xsd:Integer&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102745"></A>        &lt;dataRelation xmi:id=&quot;id.87&quot; xmi:type=&quot;data:DatatypeOf&quot; to=&quot;id.100&quot; from=&quot;id.86&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102746"></A>      &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102747"></A>      &lt;contentElement xmi:id=&quot;id.88&quot; xmi:type=&quot;data:SimpleContentType&quot; name=&quot;xsd:String&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102748"></A>        &lt;dataRelation xmi:id=&quot;id.89&quot; xmi:type=&quot;data:DatatypeOf&quot; to=&quot;id.101&quot; from=&quot;id.88&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102749"></A>      &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102750"></A>      &lt;contentElement xmi:id=&quot;id.90&quot; xmi:type=&quot;data:SimpleContentType&quot; name=&quot;xsd:Decimal&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102751"></A>        &lt;dataRelation xmi:id=&quot;id.91&quot; xmi:type=&quot;data:DatatypeOf&quot; to=&quot;id.102&quot; from=&quot;id.90&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102752"></A>      &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102753"></A>      &lt;contentElement xmi:id=&quot;id.92&quot; xmi:type=&quot;data:SimpleContentType&quot; name=&quot;xsd:positiveInteger&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102754"></A>        &lt;dataRelation xmi:id=&quot;id.93&quot; xmi:type=&quot;data:DatatypeOf&quot; to=&quot;id.100&quot; from=&quot;id.92&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102755"></A>      &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102756"></A>      &lt;contentElement xmi:id=&quot;id.94&quot; xmi:type=&quot;data:SimpleContentType&quot; name=&quot;xsd:date&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102757"></A>        &lt;dataRelation xmi:id=&quot;id.95&quot; xmi:type=&quot;data:DatatypeOf&quot; to=&quot;id.103&quot; from=&quot;id.94&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102758"></A>      &lt;/contentElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102759"></A>      &lt;contentElement xmi:id=&quot;id.96&quot; xmi:type=&quot;data:SimpleContentType&quot; name=&quot;xsd:any&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102760"></A>      &lt;contentElement xmi:id=&quot;id.97&quot; xmi:type=&quot;data:SimpleContentType&quot; name=&quot;xsd:NMTOKEN&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102761"></A>    &lt;/dataElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102762"></A>  &lt;/model&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102763"></A>  &lt;model xmi:id=&quot;id.98&quot; xmi:type=&quot;code:CodeModel&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102764"></A>    &lt;codeElement xmi:id=&quot;id.99&quot; xmi:type=&quot;code:LanguageUnit&quot;&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102765"></A>      &lt;codeElement xmi:id=&quot;id.100&quot; xmi:type=&quot;code:IntegerType&quot; name=&quot;xsd integer&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102766"></A>      &lt;codeElement xmi:id=&quot;id.101&quot; xmi:type=&quot;code:StringType&quot; name=&quot;xsd string&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102767"></A>      &lt;codeElement xmi:id=&quot;id.102&quot; xmi:type=&quot;code:DecimalType&quot; name=&quot;xsd decimal&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102768"></A>      &lt;codeElement xmi:id=&quot;id.103&quot; xmi:type=&quot;code:DateType&quot; name=&quot;xsd date&quot;/&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102769"></A>    &lt;/codeElement&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102770"></A>  &lt;/model&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1102771"></A>&lt;/kdm:Segment&gt;</P>
<P CLASS="example">
<A NAME="pgfId-1101831"></A>&nbsp;</P>
</DIV>
</DIV>
</DIV>
<DIV>
<H3 CLASS="Heading1">
<A NAME="pgfId-1101725"></A><A NAME="_Toc131848400"></A>ContentRelations Class Diagram</H3>
<P CLASS="paragraph">
<A NAME="pgfId-1098579"></A>The ContentRelations class diagram provides basic meta-model relationships that represent various structural properties of the content. The class diagram shown in <A HREF="KDM_1.0_18_datapkg.htm#68506" CLASS="XRef">See - ContentRelations Class Diagram.</A> captures these classes and their relations.</P>
<P CLASS="Body">
<A NAME="pgfId-1097320"></A>&nbsp;</P>
<DIV>
<IMG SRC="KDM_1.0_18_datapkg-10.gif">
</DIV>
<DIV>
<H6 CLASS="FigureCaption-">
<A NAME="pgfId-1097734"></A><A NAME="68506"></A>- ContentRelations Class Diagram</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1098508"></A>&nbsp;</P>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1098509"></A>TypedBy class</H4>
<P CLASS="paragraph">
<A NAME="pgfId-1098510"></A>The TypedBy class represents the relationship between a ContentItem and a content type, that be represented by a ComplexContentType class or one of its subclasses.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098512"></A>Superclass</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1098513"></A>AbstractDataRelationship</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098514"></A>Associations:</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1099418"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1099422"></A>from:ContentItem[1]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1099424"></A>the content element or attribute</H6>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1099447"></A>to:ComplexContentType[1]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1099449"></A>the content type element </H6>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098517"></A>Constraints:</H6>
<DIV>
<H6 CLASS="List1">
<A NAME="pgfId-1098518"></A>The &quot;from&quot; endpoint should be a ContentElement or a ContentAttribute class</H6>
</DIV>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1102821"></A>Semantics:</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1098521"></A>TypedBy relationship represents an association between a content element and its type when this type is user-defined. This relationship is similar to HasType from CodeModel.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1102826"></A>&nbsp;</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1098522"></A>DatatypeOf class</H4>
<P CLASS="paragraph">
<A NAME="pgfId-1098524"></A>The DatatypeOf class represents the relationship between a CompelxContentType and a Datatype defined in some Code model.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098526"></A>Superclass</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1098527"></A>AbstractDataRelationship</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098528"></A>Associations:</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1099476"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1099480"></A>from:ComplexContentType[1]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1099482"></A>the content type</H6>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1099484"></A>to:Datatype[1]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1099486"></A>the datatype element </H6>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098531"></A>Constraints:</H6>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1102828"></A>Semantics:</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1102829"></A>DatatypeOf relationship represents an association between a content type and primitive datatype.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1098534"></A>&nbsp;</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1098535"></A>ReferenceTo class</H4>
<P CLASS="paragraph">
<A NAME="pgfId-1098537"></A>The ReferenceTo class represents the relationship between a ContentReference and a ContentElement, ContentAttribute or ContentGroup definition.</P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098539"></A>Superclass</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1098540"></A>AbstractDataRelationship</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098541"></A>Associations:</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1099500"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1099504"></A>from:ContentItem[1]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1099506"></A>the content reference</H6>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1099508"></A>to:ContentItem[1]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1099510"></A>the content element or attribute or group</H6>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098544"></A>Constraints:</H6>
<DIV>
<H6 CLASS="List1">
<A NAME="pgfId-1098545"></A>The &quot;from&quot; endpoint should be a ContentReference </H6>
</DIV>
<DIV>
<H6 CLASS="List1-">
<A NAME="pgfId-1098546"></A>The &quot;to&quot; endpoint should be a ContentElement, a ContentAttribute or GroupContent</H6>
</DIV>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1102839"></A>Semantics:</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1102840"></A>ReferenceTo relationship represents an association between a content reference and the corresponding definition.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1098548"></A>&nbsp;</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1098549"></A>ExtensionTo class</H4>
<P CLASS="paragraph">
<A NAME="pgfId-1098550"></A>The ExtensionTo class represents the relationship between a two content types, where one type is an extension to another. The semantics of deriving new types by extension is that as the result a new complex type or simple type is defined that contain all the elements of the original type plus additional elements that are provided as the extension. </P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098552"></A>Superclass</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1098553"></A>AbstractDataRelationship</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098554"></A>Associations:</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1099536"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1099543"></A>from:ComplexContentType[1]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1099545"></A>the new (extended) content type</H6>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1099547"></A>to:ComplexContentType[1]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1099549"></A>the base content type</H6>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099537"></A>Constraints:</H6>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1102852"></A>Semantics:</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1102853"></A>ExtensionTo relationship represents an association between a content type and its base type.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1098560"></A>&nbsp;</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1098561"></A>RestrictionOf class</H4>
<P CLASS="paragraph">
<A NAME="pgfId-1098562"></A>The RestrictionOf class represents the relationship between a two content types, where one type is a restriction to another. The semantics of deriving new types by restriction is that as the result a new complex type or simple type is defined that contains all the elements and constraints of the original type plus additional constraints that are provided as the restriction. </P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098564"></A>Superclass</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1098565"></A>AbstractDataRelationship</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098566"></A>Associations:</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1099571"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1099575"></A>from:ComplexContentType[1]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1099577"></A>the new (restricted) content type</H6>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1099579"></A>to:ComplexContentType[1]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1099581"></A>the base content type</H6>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098569"></A>Constraints:</H6>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1102862"></A>Semantics:</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1102863"></A>RestrictionOf relationship represents an association between a content type and its base type.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1102860"></A>&nbsp;</P>
</DIV>
</DIV>
</DIV>
<DIV>
<H3 CLASS="Heading1">
<A NAME="pgfId-1099704"></A>ExtenededDataElements Class Diagram</H3>
<P CLASS="Body">
<A NAME="pgfId-1098850"></A>The ExtendedDataElements class diagram defines two &quot;wildcard&quot; generic elements for the data model as determined by the KDM model pattern: a generic data entity and a generic data relationship..</P>
<P CLASS="Body">
<A NAME="pgfId-1098854"></A>The classes and associations of the ExtendedDataElements diagram are shown in <A HREF="KDM_1.0_18_datapkg.htm#48503" CLASS="XRef">See - ExtendedDataElements Class Diagram.</A>. </P>
<P CLASS="Body">
<A NAME="pgfId-1098858"></A>&nbsp;</P>
<DIV>
<IMG SRC="KDM_1.0_18_datapkg-11.gif">
</DIV>
<DIV>
<H6 CLASS="FigureCaption-">
<A NAME="pgfId-1098859"></A><A NAME="48503"></A>- ExtendedDataElements Class Diagram</H6>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1098860"></A>ExtendedDataElement Class</H4>
<P CLASS="Body">
<A NAME="pgfId-1098861"></A>The ExtendedDataElement class is a generic meta-model element that can be used to define new &quot;virtual&quot; meta-model elements through the KDM light-weight extension mechanism </P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098862"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1098863"></A>AbstractDataElement</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099212"></A>Constraints</H6>
<DIV>
<H6 CLASS="List1">
<A NAME="pgfId-1099213"></A>ExtendedDataElement should have at least one stereotype</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1099214"></A>Semantics</P>
<P CLASS="paragraph">
<A NAME="pgfId-1099215"></A>An data entity with under specified semantics. It is a concrete class that can be used as the base element of a new &quot;virtual&quot; meta-model entity types of the data model. This is one of the KDM extension points which can integrate additional language-specific, application-specific or implementer-specific pieces of knowledge into the standard KDM representation.</P>
</DIV>
</DIV>
</DIV>
<DIV>
<H4 CLASS="Heading2">
<A NAME="pgfId-1098866"></A>DataRelationship Class</H4>
<P CLASS="Body">
<A NAME="pgfId-1098867"></A>The DataRelationship class is a generic meta-model element that can be used to define new &quot;virtual&quot; meta-model elements through the KDM light-weight extension mechanism </P>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098868"></A>Superclass</H6>
<P CLASS="Body">
<A NAME="pgfId-1098869"></A>AbstractDataRelationship</P>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1098870"></A>Associations</H6>
<P CLASS="Body">
<A NAME="pgfId-1098880"></A>&nbsp;</P>
<TABLE BORDER="1">
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1098873"></A>from:AbstractDataElement[1]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1098875"></A>The data element origin endpoint of the relationship</H6>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText1">
<A NAME="pgfId-1098877"></A>to:KDMEntity[1]</H6>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<H6 CLASS="TableText">
<A NAME="pgfId-1098879"></A>the target of the relationship</H6>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Heading4">
<A NAME="pgfId-1099229"></A>Constraints</H6>
<DIV>
<H6 CLASS="List1">
<A NAME="pgfId-1099230"></A>DataRelationship should have at least one stereotype</H6>
<P CLASS="paragraph">
<A NAME="pgfId-1099231"></A>Semantics</P>
<P CLASS="paragraph">
<A NAME="pgfId-1099232"></A>An data relationship with under specified semantics. It is a concrete class that can be used as the base element of a new &quot;virtual&quot; meta-model relationship types of the data model. This is one of the KDM extension points which can integrate additional language-specific, application-specific or implementer-specific pieces of knowledge into the standard KDM representation.</P>
<P CLASS="paragraph">
<A NAME="pgfId-1099233"></A>&nbsp;</P>
<P CLASS="Body">
<A NAME="pgfId-1098691"></A>&nbsp;</P>
<P CLASS="Body">
<A NAME="pgfId-1088609"></A>&nbsp;</P>
</DIV>
</DIV>
</DIV>
</DIV>
</BODY>
</HTML>
